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.


On Mon, 2020-07-20 at 15:57 +0000, Monsees, Steven C (US) wrote:
> 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, and OE_INIT_ENV_SCRIPT variables 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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50010): https://lists.yoctoproject.org/g/yocto/message/50010
Mute This Topic: https://lists.yoctoproject.org/mt/75683471/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to