[OE-core] basic bitbake commands to create an SDK?

Robert P. J. Day rpjday at crashcourse.ca
Sat Oct 22 16:05:35 UTC 2016


  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
========================================================================




More information about the Openembedded-core mailing list