diff options
author | Petri Latvala <petri.latvala@intel.com> | 2018-02-23 13:10:58 +0200 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2018-02-26 11:53:05 +0200 |
commit | a2664f86bb75e642c432531e2bf30e030fb3e828 (patch) | |
tree | df5909ff8153226de464737040ad63ab73ba529b /tools/intel_opregion_decode.c | |
parent | d7e0cc6ca4174871660ec78a5a063d9b564e120c (diff) |
meson: Don't build docs when cross-compiling
Building documentation requires executing all test binaries to produce
their respective description texts. This can be a very time-consuming
process, if viable at all, when the target arch differs from the
host.
Don't process the doc directory at all when an exe wrapper is
setup. This avoids the runtime penalty when the target binaries are
executed through qemu, but leaves everything as-is when the target
binaries can be directly executed, like when cross-compiling to x86
from x86_64 host.
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'tools/intel_opregion_decode.c')
0 files changed, 0 insertions, 0 deletions