[oe-commits] [openembedded-core] 06/25: populate_sdk_ext: Add variable to indicate running in eSDK

git at git.openembedded.org git at git.openembedded.org
Fri Jul 21 21:52:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit ebdd9b5a19eb6fb6c3249be4f0e2480a3de2aa8f
Author: Saul Wold <sgw at linux.intel.com>
AuthorDate: Mon Jul 17 09:20:14 2017 -0700

    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 <sgw at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/populate_sdk_ext.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index e31ee37..08973a2 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')
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list