Adjusting Extensible SDK for build setup
I am fairly new to the Yocto SDK build process, and am looking to create an extensible SDK for one of our platforms.
I am currently working with Rocko 2.4.1, in conjunction with uninative release 1.9...
My current build system setup does not follow the standard configuration, I use a different environment setup script other than "oe-init-build-env".
My environment setup script "setup-build-env" is also not located in the ${COREBASE}, i.e. the "poky" directory, but rather at "${COREBASE}/../meta-bae/meta-limws", the meta-limws level has multiple architecture sub levels (each an independent build), I am only looking to build an SDK for one of these architectures. Each architecture's bblayers.conf provides the appropriate layers...
My build directory is expected to reside here: "${COREBASE}/../meta-bae/meta-limws/builds, and there are multiple architecture builds under this directory.
In the Yocto Project Mega-Manual, Appendix B.2... it talks about setting up COREBASE and COREBASE_FILES...
The default COREBASE_FILES is setup in populate_sdk_ext.bbclass as:
COREBASE_FILES ?= " \
oe-init-build-env \
scripts \
LICENSE \
.templateconf \"
How do I configure COREBASE, COREBASE_FILES, and OE_INIT_ENV_SCRIPT variable so that populate_sdk_ext.bbclass is able to properly run "do_populate_sdk_ext" without having to modify populate_sdk_ext.bbclass ?
Can someone tell me the proper configuration for these variables so that my "setup-build-env" script is copied/used correctly by the SDK build env ?
Thanks,
Steve
Quoted 18 lines · Steven C (US)
I am fairly new to the Yocto SDK build process, and am looking to create an extensible SDK for one of our platforms.
I am currently working with Rocko 2.4.1, in conjunction with uninative release 1.9…
My current build system setup does not follow the standard configuration, I use a different environment setup script other than “oe-init-build-env”.
My environment setup script “setup-build-env” is also not located in the ${COREBASE}, i.e. the “poky” directory, but rather at “${COREBASE}/../meta-bae/meta-limws”, the meta-limws level has multiple architecture sub levels (each an independent build), I am only looking to build an SDK for one of these architectures. Each architecture’s bblayers.conf provides the appropriate layers…
Quoted 3 lines
My build directory is expected to reside here:
“${COREBASE}/../meta-bae/meta-limws/builds, and there are multiple
architecture builds under this directory
I think the build directory expectation isn't going to work with the eSDK.
The eSDK is really designed against one configuration and the build directory becomes that specific SDK. You therefore can't require some sub directory of the eSDK become the build directory as that isn't how its designed to operate.
Cheers,
Richard
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...
Thanks,
Steve
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Richard Purdie
Sent: Monday, July 20, 2020 11:31 AM
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 18 lines · Steven C (US)
I am fairly new to the Yocto SDK build process, and am looking to create an extensible SDK for one of our platforms.
I am currently working with Rocko 2.4.1, in conjunction with uninative release 1.9…
My current build system setup does not follow the standard configuration, I use a different environment setup script other than “oe-init-build-env”.
My environment setup script “setup-build-env” is also not located in the ${COREBASE}, i.e. the “poky” directory, but rather at “${COREBASE}/../meta-bae/meta-limws”, the meta-limws level has multiple architecture sub levels (each an independent build), I am only looking to build an SDK for one of these architectures. Each architecture’s bblayers.conf provides the appropriate layers…
Quoted 3 lines
My build directory is expected to reside here:
“${COREBASE}/../meta-bae/meta-limws/builds, and there are multiple
architecture builds under this directory
I think the build directory expectation isn't going to work with the eSDK.
The eSDK is really designed against one configuration and the build directory becomes that specific SDK. You therefore can't require some sub directory of the eSDK become the build directory as that isn't how its designed to operate.
Cheers,
Richard