Openembedded Core Discussions
 help / color / mirror / Atom feed
* basic bitbake commands to create an SDK?
@ 2016-10-22 16:05 Robert P. J. Day
  2016-10-22 16:37 ` Khem Raj
  0 siblings, 1 reply; 10+ messages in thread
From: Robert P. J. Day @ 2016-10-22 16:05 UTC (permalink / raw)
  To: OE Core mailing list


  i'm about to dive into SDKs seriously for the first time, so a
shamefully dumb question to make sure i'm starting with the correct
understanding.

  starting with up-to-date OE master branch, i selected

MACHINE=mpc8315e-rdb

now, as i see it, i can create just the SDK with either of:

$ bitbake meta-toolchain
$ bitbake -s populate_sdk core-image-minimal

(in that second command, i'm assuming the choice of image is
irrelevant, i just always use core-image-minimal out of habit.)

  i'm assuming those commands are entirely equivalent in terms f
generating the SDK, given that meta-toolchain.bb consists solely of:

  SUMMARY = "Meta package for building a installable toolchain"
  LICENSE = "MIT"

  PR = "r7"

  LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

  inherit populate_sdk

so the more efficient of those commands would be just

$ bitbake meta-toolchain

  also, i did notice the generated host.manifest and target.manifest
files created along with the SDK -- am i correct in assuming those
files represent, respectively, the TOOLCHAIN_HOST_TASK and
TOOLCHAIN_TARGET_TASK values?

  anyway, as long as i'm starting with the right info, pretty sure i
can take it from there, accompanied by the SDK manual:

http://www.yoctoproject.org/docs/2.2/sdk-manual/sdk-manual.html

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-10-25 18:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-22 16:05 basic bitbake commands to create an SDK? Robert P. J. Day
2016-10-22 16:37 ` Khem Raj
2016-10-22 16:53   ` Robert P. J. Day
2016-10-22 16:55     ` Khem Raj
2016-10-22 17:03       ` Robert P. J. Day
2016-10-25 18:29     ` Denys Dmytriyenko
2016-10-22 17:24   ` Robert P. J. Day
2016-10-25  1:01     ` Paul Eggleton
2016-10-24  9:51   ` Robert P. J. Day
2016-10-25  2:18     ` Paul Eggleton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox