]> code.ossystems Code Review - openembedded-core.git/commit
populate_sdk_base: Remap TOOLCHAIN_HOST_TASK variable
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Aug 2014 10:27:44 +0000 (11:27 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Aug 2014 14:12:31 +0000 (15:12 +0100)
commitd2fbc55d6863a767e69092bac686c02c3ec34650
tree02c49cd7d866f067bb3834e38bb35aae1ca1000a
parent5cf12b20c08d927af8b1a4e2997d325a030c2269
populate_sdk_base: Remap TOOLCHAIN_HOST_TASK variable

Currently this variable isn't passed through the magic rename
mangling. This means that if you try adding "nativesdk-eglibc"
to an image directly, you can't since the package is renamed
by debian.bbclass and nothing sees the renaming.

This is annoying since I wanted to exactly that. This code
change passes it through the standard renaming function, the
tricky part is that we have to set PKGDATA_DIR to point to
the correct sysroot during the call. We create a copy of the
 datastore for the purposes of the call to do this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_base.bbclass