Adjusting Extensible SDK for build setup
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Steven C (US)
The BUILDDIR is defined as configurable under Yocto...
I set this up as per the Yocto docs based on the "MACHINE' I am building, I do not believe this is the issue.
Quoted 7 lines
There is no issue when building the standard SDK...
I am looking for the proper variable settings for COREBASE,
COREBASE_FILES, andOE_INIT_ENV_SCRIPTvariables required by eSDK when working with
a different environment setup script not located in the COREBASE (i.e. poky) directory...
Looking at the code in populate_sdk_ext.bbclass:copy_buildsystem(), it looks in each layer for the script specified in OE_INIT_ENV_SCRIPT.
From your description its impossible to know whether meta-limws or meta-bae is seen as individual layers and whether they're copied individually into layers/ in the eSDK or not.
I'd guess that " meta-limws/setup-build-env" or "meta-bae/meta- limws/setup-build-env" should work as the value for OE_INIT_ENV_SCRIPT.
If poky is being used and is unaltered, COREBASE and COREBASE_FILES should work unaltered.
Cheers,
Richard
Yes, this is what I saw as well...
I had to add two lines to the populate_sdk_ext.bbclass to properly get it to pick up my env script. I set :
OE_INIT_ENV_SCRIPT = "setup-build-env" CORE_BASE_Files = " \ Scripts \ LICENSE \ .templateconf \ "
This allowed me to build the "minimale SDK EXT.
SDK_EXT_TYPE = "minimal" SDK_LOCAL_CONF_WHITELIST = "SSTATE_MIRRORS"
Was hoping I would be able to configure the variables rather than modify the script... Do not want to introduce future support ussues if possible.
Thanks,
Steve
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Richard Purdie
Sent: Monday, July 20, 2020 12:17 PM
To: Monsees, Steven C (US) <[email protected]>; [email protected]
Subject: Re: [yocto] Adjusting Extensible SDK for build setup
*** WARNING ***
EXTERNAL EMAIL -- This message originates from outside our organization.
Quoted 11 lines · Steven C (US)
The BUILDDIR is defined as configurable under Yocto...
I set this up as per the Yocto docs based on the "MACHINE' I am building, I do not believe this is the issue.
There is no issue when building the standard SDK...
I am looking for the proper variable settings for COREBASE,
COREBASE_FILES, andOE_INIT_ENV_SCRIPTvariables required by eSDK when working with a different environment setup script not located in the COREBASE (i.e. poky) directory...
Looking at the code in populate_sdk_ext.bbclass:copy_buildsystem(), it looks in each layer for the script specified in OE_INIT_ENV_SCRIPT.
From your description its impossible to know whether meta-limws or meta-bae is seen as individual layers and whether they're copied individually into layers/ in the eSDK or not.
I'd guess that " meta-limws/setup-build-env" or "meta-bae/meta- limws/setup-build-env" should work as the value for OE_INIT_ENV_SCRIPT.
If poky is being used and is unaltered, COREBASE and COREBASE_FILES should work unaltered.
Cheers,
Richard