[oe] [RFC][PATCH] Merging classes with poky

Richard Purdie rpurdie at rpsys.net
Sun Sep 2 00:36:58 UTC 2007


On Sat, 2007-09-01 at 19:42 +0200, Koen Kooi wrote:
> Richard Purdie schreef:
> > I haven't looked closely at the diff yet but the above should not be
> > merged back in. I removed it from OE.dev since its broken and the same
> > (correct) information can be obtained with "bitbake -e". I will remove
> > it from Poky too in due course.
> 
> Updated diffs at http://dominion.kabel.utwente.nl/koen/OE/poky/
> 
> Changes:
> 
> * remove showdata
> * make rootfs_deb.bbclass work with current .dev

Given the ton of changes involved, I've committed a number of them that
hopefully hasn't actually changed any behaviours in OE but have brought
OEs and Poky's classes much more in sync.

http://www.rpsys.net/openzaurus/temp/behaviour_change.patch is a
(reverse) diff which will change the way OE does certain things. There
are two main ones:

1. pkgmaps moves from ${STAGING_DIR}/pkgdata/ to
${STAGING_DIR}/pkgdata/${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS} in
the multimachine case.

2. Enable the do_package_write_ipk, do_package_write_deb and other
separate tasks instead of running them all within do_package_write. The
big benefit here is you can then enable some new package class at some
point halfway through a build and bitbake will "do the right thing". It
also improves the number of tasks we can run in parallel slightly.

Any thoughts/comments on these or should I check them in along with a
warning about needing to wipe the install stamps at the very least on
existing builds?

Also of note is that I've synced up poky's meta-toolchain changes.
Distros should be able to customise the SDK this generates by changing
TOOLCHAIN_TARGET_TASK. I've added in Poky's TOOLCHAIN_HOST_TASK under a
more generic name since I suspect that will work well for most people.

The other half to this is Poky's external-poky-toolchain.bb which is
basically equivalent to ASSUME_PROVIDEing the standalone toolchain built
above. If distros in OE want to support using pregenerated toolchains
please look at that code but it will need distro support to make it work
properly as the appropriate PREFERRED_PROVIDERS need to be set.

Another quick things I've noticed is the empty /dev directories in some
peoples images were caused because the PR on makedevs hadn't been bumped
meaning some autobuilders hadn't see that change and were not using up
to date code.

Cheers,

Richard






More information about the Openembedded-devel mailing list