summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorDouglas Royds <douglas.royds@taitradio.com>2018-12-20 11:59:48 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-06 16:38:30 +0000
commit8163c7cbdeea8db2f7cdb329d3d0254f66724683 (patch)
tree20ead4505dfa38653cf7e273a416300d3ae87c0e /meta/classes
parentbeaffe5b70f098af87c09a0b150031cf172faf05 (diff)
downloadpoky-8163c7cbdeea8db2f7cdb329d3d0254f66724683.tar.gz
icecc: patchelf is needed by icecc-create-env
Although we could potentially build patchelf and all its dependencies, they would all have to be blacklisted to avoid trying to build them with icecc. We use the host patchelf instead. (From OE-Core rev: 0860216a81092fba084d29696db6d0c65a226c85) (From OE-Core rev: 9d3587dda0e068efb72a89fd94002f13882fe335) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/icecc.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 49597175ca..7d94525d31 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -38,7 +38,7 @@ BB_HASHBASE_WHITELIST += "ICECC_PARALLEL_MAKE ICECC_DISABLED ICECC_USER_PACKAGE_
38 38
39ICECC_ENV_EXEC ?= "${STAGING_BINDIR_NATIVE}/icecc-create-env" 39ICECC_ENV_EXEC ?= "${STAGING_BINDIR_NATIVE}/icecc-create-env"
40 40
41HOSTTOOLS_NONFATAL += "icecc" 41HOSTTOOLS_NONFATAL += "icecc patchelf"
42 42
43# This version can be incremented when changes are made to the environment that 43# This version can be incremented when changes are made to the environment that
44# invalidate the version on the compile nodes. Changing it will cause a new 44# invalidate the version on the compile nodes. Changing it will cause a new
@@ -326,6 +326,10 @@ set_icecc_env() {
326 bbwarn "Cannot use icecc: icecc binary not found" 326 bbwarn "Cannot use icecc: icecc binary not found"
327 return 327 return
328 fi 328 fi
329 if [ -z "$(which patchelf patchelf-uninative)" ]; then
330 bbwarn "Cannot use icecc: patchelf not found"
331 return
332 fi
329 333
330 # Create symlinks to icecc in the recipe-sysroot directory 334 # Create symlinks to icecc in the recipe-sysroot directory
331 mkdir -p ${ICE_PATH} 335 mkdir -p ${ICE_PATH}