diff options
author | Saul Wold <sgw@linux.intel.com> | 2017-07-17 09:20:14 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-21 22:51:37 +0100 |
commit | d98a2f4df0963fe14fff85650185642c51b63c97 (patch) | |
tree | 552ba91e84ee78c54557dc800dcf694d96be26c2 /meta/classes/populate_sdk_ext.bbclass | |
parent | e0fc81e29a0ae0e7631d7634bfca77f30effe429 (diff) | |
download | poky-d98a2f4df0963fe14fff85650185642c51b63c97.tar.gz |
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]
(From OE-Core rev: ebdd9b5a19eb6fb6c3249be4f0e2480a3de2aa8f)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
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 () { | |||
351 | # Hide the config information from bitbake output (since it's fixed within the SDK) | 351 | # Hide the config information from bitbake output (since it's fixed within the SDK) |
352 | f.write('BUILDCFG_HEADER = ""\n\n') | 352 | f.write('BUILDCFG_HEADER = ""\n\n') |
353 | 353 | ||
354 | f.write('# Provide a flag to indicate we are in the EXT_SDK Context\n') | ||
355 | f.write('WITHIN_EXT_SDK = "1"\n\n') | ||
356 | |||
354 | # Map gcc-dependent uninative sstate cache for installer usage | 357 | # Map gcc-dependent uninative sstate cache for installer usage |
355 | f.write('SSTATE_MIRRORS += " file://universal/(.*) file://universal-4.9/\\1 file://universal-4.9/(.*) file://universal-4.8/\\1"\n\n') | 358 | f.write('SSTATE_MIRRORS += " file://universal/(.*) file://universal-4.9/\\1 file://universal-4.9/(.*) file://universal-4.8/\\1"\n\n') |
356 | 359 | ||