From: Saul Wold Date: Mon, 17 Jul 2017 16:20:14 +0000 (-0700) Subject: populate_sdk_ext: Add variable to indicate running in eSDK X-Git-Tag: uninative-1.7~101 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ebdd9b5a19eb6fb6c3249be4f0e2480a3de2aa8f;p=openembedded-core.git populate_sdk_ext: Add variable to indicate running in eSDK This allows for other scripts to know that they are being executed in the context of the eSDK in order to provide different behaviour as needed. [YOCTO #11155] Signed-off-by: Saul Wold Signed-off-by: Ross Burton --- diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index e31ee3722b..08973a264c 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass @@ -351,6 +351,9 @@ python copy_buildsystem () { # Hide the config information from bitbake output (since it's fixed within the SDK) f.write('BUILDCFG_HEADER = ""\n\n') + f.write('# Provide a flag to indicate we are in the EXT_SDK Context\n') + f.write('WITHIN_EXT_SDK = "1"\n\n') + # Map gcc-dependent uninative sstate cache for installer usage f.write('SSTATE_MIRRORS += " file://universal/(.*) file://universal-4.9/\\1 file://universal-4.9/(.*) file://universal-4.8/\\1"\n\n')