From: Richard Purdie Date: Thu, 4 May 2017 10:59:14 +0000 (+0100) Subject: sstate: Ensure native/cross recipes have relocation of HOSTTOOLS_DIR X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=64c2f8acd02e0e5dca234b36a2a7097c0c16f7c2;p=openembedded-core.git sstate: Ensure native/cross recipes have relocation of HOSTTOOLS_DIR The previous change to relocate HOSTTOOLS wasn't complete as some files, particularly in gcc stashed build directories were not being correctly relocated. This patch addresses the issue. (From OE-Core rev: 21dd36cc12a033b012544c5d15a6f8afd84dabc9) Signed-off-by: Richard Purdie Signed-off-by: Ross Burton --- diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index ddc442cdf9..0a12935be9 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -33,7 +33,7 @@ SSTATE_DUPWHITELIST += "${DEPLOY_DIR_SRC}" SSTATE_SCAN_FILES ?= "*.la *-config *_config postinst-*" SSTATE_SCAN_CMD ??= 'find ${SSTATE_BUILDDIR} \( -name "${@"\" -o -name \"".join(d.getVar("SSTATE_SCAN_FILES").split())}" \) -type f' -SSTATE_SCAN_CMD_NATIVE ??= 'grep -Irl -e ${RECIPE_SYSROOT} -e ${RECIPE_SYSROOT_NATIVE} ${SSTATE_BUILDDIR}' +SSTATE_SCAN_CMD_NATIVE ??= 'grep -Irl -e ${RECIPE_SYSROOT} -e ${RECIPE_SYSROOT_NATIVE} -e ${HOSTTOOLS_DIR} ${SSTATE_BUILDDIR}' BB_HASHFILENAME = "False ${SSTATE_PKGSPEC} ${SSTATE_SWSPEC}"