Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] populate_sdk_ext: Add variable to indicate running in eSDK
@ 2017-07-17 16:20 Saul Wold
  2017-07-17 16:20 ` [PATCH 2/2 v4] pkgconfig: allow kernel to be build with esdk Saul Wold
  0 siblings, 1 reply; 2+ messages in thread
From: Saul Wold @ 2017-07-17 16:20 UTC (permalink / raw)
  To: openembedded-core, richard.purdie

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@linux.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 4791d74..c70c435 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -352,6 +352,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')
 
-- 
2.7.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-17 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-17 16:20 [PATCH 1/2] populate_sdk_ext: Add variable to indicate running in eSDK Saul Wold
2017-07-17 16:20 ` [PATCH 2/2 v4] pkgconfig: allow kernel to be build with esdk Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox