diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2015-03-09 11:24:42 +0800 |
---|---|---|
committer | Chen Qi <Qi.Chen@windriver.com> | 2015-03-09 14:37:29 +0800 |
commit | 9c5ff4936540de659b192873b0082c93c678ff3e (patch) | |
tree | 122027340ffe325abc05d3d8a8192379befd4fca /scripts/sstate-sysroot-cruft.sh | |
parent | 3c78468f12296abd02abce6eeac0f69bc7509958 (diff) | |
download | openembedded-core-contrib-ChenQi/nativesdk-PKGDATA_DIR.tar.gz |
nativesdk.bbclass: set PKGDATA_DIR explicitlyChenQi/nativesdk-PKGDATA_DIR
For now, if we enable 'multilib' and execute `bitbake uninative-tarball
-c populate_sdk', the command would fail, complaining nativesdk-glibc not
found in package feed.
The problem is that PKGDATA_DIR is not set correctly for nativesdk packages
when multilib is enabled.
For now, we have:
meta/conf/bitbake.conf:PKGDATA_DIR = "${STAGING_DIR_HOST}/pkgdata"
The above is overriden by the following is multilib is enabled.
meta/conf/multilib.conf:PKGDATA_DIR = "${STAGING_DIR}/${MACHINE}/pkgdata"
This is correct for normal packages. However, for nativesdk packages, this
is not correctly. This is because nativesdk.bbclass set STAGING_DIR_HOST as
follows.
meta/classes/nativesdk.bbclass:STAGING_DIR_HOST = "${STAGING_DIR}/${MULTIMACH_HOST_SYS}"
The above overrides the value in multilib.conf.
That's why we need to also set PKGDATA_DIR explicitly in nativesdk.bbclass.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Diffstat (limited to 'scripts/sstate-sysroot-cruft.sh')
0 files changed, 0 insertions, 0 deletions