From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 0/6 v2] Enable the ability to create an image matching SDK
Date: Mon, 2 Jul 2012 11:27:13 -0500 [thread overview]
Message-ID: <4FF1CBE1.5080802@windriver.com> (raw)
In-Reply-To: <CAEsOVNdKPAY8yOdGUXo18Scn8qMrgckrfe_jJ7ojMxVSg0raBw@mail.gmail.com>
On 7/2/12 10:20 AM, McClintock Matthew-B29882 wrote:
> Mark,
>
> By 'match the image' you mean the libraries in the toolchain tarball
> will contain matching versions that are on the root file system?
If you create an image that only has busybox, and glibc.. a matching SDK would
only include busybox and glibc (development) components as well.
You won't get libstdc++, glib, libX11, or anything else that is not part of the
image..
For my customers they create a base platform image. This image defines all of
the (external to them) software that will be running on their devices. They
then use that image to create an SDK to pass to their internal (and external)
application developers. So it's critical the SDK match the image they
generated. (And they, and I, don't see why in this case making an external SDK
recipe makes sense.. the SDK should simply match the image... Note, there is
definitely a case where you want to build an application SDK that does not match
the image... Usually this is done when you only want app developers to use a
limited set of APIs for their apps.)
So yes, the SDK will match the libraires selected for an image, and provide the
-dev and -dbg versions of the components. (-staticdev is not included...)
--Mark
> -M
>
> On Sat, Jun 30, 2012 at 12:18 AM, Mark Hatle <mark.hatle@windriver.com> wrote:
>> Only difference is patch 1/6, I accidently sent and older broken version of the
>> patch. This is the correct version.
>>
>> ---
>>
>> After this series of patches, it is possible to generate an SDK that
>> matches the image. The SDK and all related code is only activated if an image
>> recipe is built using the "populate_sdk" task, such as:
>>
>> bitbake core-image-sato -c populate_sdk
>>
>> Existing SDK images, such as meta-toolchain or meta-toolchain-gmae continue to
>> work without modifications.
>>
>> The following changes since commit 54429dfcca0e35a3aeaa78e509240b87d6a8f4ac:
>>
>> mklibs-native: Upgrade to 0.1.34 (2012-06-29 13:21:19 +0100)
>>
>> are available in the git repository at:
>> git://git.pokylinux.org/poky-contrib mhatle/sdk
>> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/sdk
>>
>> Mark Hatle (6):
>> Fix manual log file paths
>> populate_sdk.bbclass: Split into two parts
>> populate_sdk: Allow for attempt only packages in the SDK
>> populate_sdk_base.bbclass: Change to using task specific depends
>> populate_sdk: enable basic multilib support
>> image.bbclass: Add support to build the SDK in parallel with the
>> image
>>
>> meta/classes/image.bbclass | 7 ++-
>> meta/classes/package_deb.bbclass | 4 +-
>> meta/classes/package_ipk.bbclass | 2 +-
>> meta/classes/package_rpm.bbclass | 10 +-
>> meta/classes/populate_sdk.bbclass | 91 +---------------------
>> meta/classes/populate_sdk_base.bbclass | 128 ++++++++++++++++++++++++++++++++
>> meta/classes/populate_sdk_deb.bbclass | 6 +-
>> meta/classes/populate_sdk_ipk.bbclass | 5 +-
>> meta/classes/populate_sdk_rpm.bbclass | 4 +-
>> meta/classes/rootfs_deb.bbclass | 2 +
>> meta/classes/rootfs_ipk.bbclass | 2 +
>> meta/classes/toolchain-scripts.bbclass | 16 +++--
>> 12 files changed, 170 insertions(+), 107 deletions(-)
>> create mode 100644 meta/classes/populate_sdk_base.bbclass
>>
>> --
>> 1.7.3.4
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
prev parent reply other threads:[~2012-07-02 16:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-30 5:07 [PATCH 0/6] Enable the ability to create an image matching SDK Mark Hatle
2012-06-30 5:07 ` [PATCH 1/6] Fix manual log file paths Mark Hatle
2012-06-30 5:07 ` [PATCH 2/6] populate_sdk.bbclass: Split into two parts Mark Hatle
2012-06-30 5:07 ` [PATCH 3/6] populate_sdk: Allow for attempt only packages in the SDK Mark Hatle
2012-06-30 5:07 ` [PATCH 4/6] populate_sdk_base.bbclass: Change to using task specific depends Mark Hatle
2012-06-30 5:07 ` [PATCH 5/6] populate_sdk: enable basic multilib support Mark Hatle
2012-06-30 5:07 ` [PATCH 6/6] image.bbclass: Add support to build the SDK in parallel with the image Mark Hatle
2012-07-02 19:44 ` Saul Wold
2012-07-02 19:49 ` Mark Hatle
2012-07-02 20:05 ` Saul Wold
2012-07-02 20:12 ` Phil Blundell
2012-07-02 20:32 ` Mark Hatle
2012-07-02 21:05 ` Phil Blundell
2012-07-02 21:37 ` Mark Hatle
2012-07-03 23:47 ` Saul Wold
2012-07-02 15:20 ` [PATCH 0/6 v2] Enable the ability to create an image matching SDK McClintock Matthew-B29882
2012-07-02 16:27 ` Mark Hatle [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FF1CBE1.5080802@windriver.com \
--to=mark.hatle@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox