almost certainly a silly question as i'm still poring over the
mechanics of standard SDK creation, but if i define a perfectly normal
image, then build the corresponding SDK with:

  $ bitbake -c populate_sdk my_image

is the resulting SDK populated based on the entire contents of the
target image? that is, if i subsequently add a new package to the
target and rebuild the SDK, will the new SDK now contain the
corresponding content from that newly-added package? (i'm just about
to test this with a build but that's going to take over an hour on
this server. *sigh* ...)

  now, i realize that if i just want to add content to the SDK without
adding to target, i can use one or both of:

  TOOLCHAIN_HOST_TASK
  TOOLCHAIN_TARGET_TASK

but if someone asks for new content both for the target and the SDK,
is it sufficient to just add to target?

  and one more question that inspired all of this. i was asked to add
a particular executable to an SDK, call it /usr/bin/fubar. fair
enough, i thought, it was short work to determine that that binary
came from the recipe fubar_1.0.bb. but i checked and that package was,
in fact, being installed in the target, so i was puzzled as to why it
wasn't in the SDK as well.

  i checked the recipe for fubar and, to my chagrin, it contained the
snippet:

  do_install_append() {
    rm -rf ${D}/usr/bin/fubar
  }

well, that explained it, so as a first test, i'm just going to dump
that snippet from the recipe, which will install the executable on the
target, and will(?) also install it in the SDK?

rday
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#151447): 
https://lists.openembedded.org/g/openembedded-core/message/151447
Mute This Topic: https://lists.openembedded.org/mt/82654706/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to