diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-08-01 12:11:22 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-02 14:31:44 +0100 |
commit | 587c1d5bac71fa6faa65ee3a271391cbf931e8f7 (patch) | |
tree | 8c47522a7ee53e0e24fbb3a2e287641fca4b7873 /meta/classes/populate_sdk.bbclass | |
parent | 46559f36d8a39655060b45d3d235de44a2c4c09b (diff) | |
download | openembedded-core-587c1d5bac71fa6faa65ee3a271391cbf931e8f7.tar.gz openembedded-core-587c1d5bac71fa6faa65ee3a271391cbf931e8f7.tar.bz2 openembedded-core-587c1d5bac71fa6faa65ee3a271391cbf931e8f7.tar.xz openembedded-core-587c1d5bac71fa6faa65ee3a271391cbf931e8f7.zip |
bitbake.conf: Add SDK_PACKAGE_ARCHS
Add SDK_PACKAGE_ARCHS to avoid the sed operations we were previously doing
inside of the variouns populate_sdk functions and related items.
Also add documentation to populate_sdk to explain when the various functions
are expected to be doing.
Finally fix a bug in populate_sdk_rpm where the wrong value was being set,
noticed while working on this change.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/classes/populate_sdk.bbclass')
-rw-r--r-- | meta/classes/populate_sdk.bbclass | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk.bbclass b/meta/classes/populate_sdk.bbclass index 089ed9ab3..0f3591b9d 100644 --- a/meta/classes/populate_sdk.bbclass +++ b/meta/classes/populate_sdk.bbclass @@ -22,6 +22,15 @@ fakeroot do_populate_sdk() { rm -rf ${SDK_OUTPUT} mkdir -p ${SDK_OUTPUT} + # populate_sdk_<image> is required to construct two images: + # SDK_ARCH-nativesdk - contains the cross compiler and associated tooling + # target - contains a target rootfs configured for the SDK usage + # + # the output of populate_sdk_<image> should end up in ${SDK_OUTPUT} it is made + # up of: + # ${SDK_OUTPUT}/<sdk_arch-nativesdk pkgs> + # ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/<target pkgs> + populate_sdk_${IMAGE_PKGTYPE} # Don't ship any libGL in the SDK |