diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-11 20:49:48 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-02-11 20:49:48 (GMT) |
commit | c8e82815331803bce45eb8f90b790dd235025259 (patch) | |
tree | 1b63cacb0686402c6facb7387f2eda281c8cf904 /scripts/build/companion_libs/140-mpc.sh | |
parent | 7dfae65ce9511debb52cb2bb0303bab76012db47 (diff) |
Skip comp.libs checking on host for canadian
... they all want to run the binaries they produced, which fails
when build!=host.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/companion_libs/140-mpc.sh')
-rw-r--r-- | scripts/build/companion_libs/140-mpc.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/build/companion_libs/140-mpc.sh b/scripts/build/companion_libs/140-mpc.sh index acb5fd3..e6efb4f 100644 --- a/scripts/build/companion_libs/140-mpc.sh +++ b/scripts/build/companion_libs/140-mpc.sh @@ -100,8 +100,13 @@ do_mpc_backend() { CT_DoExecLog ALL make ${JOBSFLAGS} if [ "${CT_COMPLIBS_CHECK}" = "y" ]; then - CT_DoLog EXTRA "Checking MPC" - CT_DoExecLog ALL make ${JOBSFLAGS} -s check + if [ "${host}" = "${CT_BUILD}" ]; then + CT_DoLog EXTRA "Checking MPC" + CT_DoExecLog ALL make ${JOBSFLAGS} -s check + else + # Cannot run host binaries on build in a canadian cross + CT_DoLog EXTRA "Skipping check for MPC on the host" + fi fi CT_DoLog EXTRA "Installing MPC" |