mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
crosssdk.bbclass: Set TUNE_PKGARCH to SDK_PKGARCH.
The TUNE_PKGARCH of crosssdk should be set to SDK_ARCH, not the one from target machine's configuration. Fixed bug [YOCTO #2206] (From OE-Core rev: e809b6657c53616a82e73d2f20ec23bc50ccebc9) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
404cced0c2
commit
3180dd2b14
@@ -1,6 +1,11 @@
|
|||||||
inherit cross
|
inherit cross
|
||||||
|
|
||||||
PACKAGE_ARCH = "${SDK_ARCH}"
|
PACKAGE_ARCH = "${SDK_ARCH}"
|
||||||
|
python () {
|
||||||
|
# set TUNE_PKGARCH to SDK_ARCH
|
||||||
|
d.setVar('TUNE_PKGARCH', d.getVar('SDK_ARCH', True))
|
||||||
|
}
|
||||||
|
|
||||||
STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}"
|
STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}"
|
||||||
STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
|
STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user