diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-25 13:19:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-26 10:41:08 +0000 |
commit | 525bbfd08dacba84c92da0ab34310a85369526b7 (patch) | |
tree | 39cc55bad7896736c0f3ba4a4bff0cf63cf3ad32 | |
parent | b1bab7a6eff6b195824be7d754de58c6e9ee2bfb (diff) | |
download | openembedded-core-525bbfd08dacba84c92da0ab34310a85369526b7.tar.gz openembedded-core-525bbfd08dacba84c92da0ab34310a85369526b7.tar.bz2 openembedded-core-525bbfd08dacba84c92da0ab34310a85369526b7.zip |
cross: Update MULTIMACH_TARGET_SYS to reflect modern recipes
Mixing PACKAGE_ARCH with BUILD_* has always seemed somewhat odd. This
comes into play when building different SDKMACHINES as the PN space
for the recipes did once overlap. With the modern build process we
use, this overlap is a thing of the past since PN has SDK_SYS appended
to it.
cross.bbclass sets PACKAGE_ARCH == BUILD_ARCH so this change only affects
crosssdk.bbclass where PACKAGE_ARCH == SDK_ARCH.
The current structure is quite confusing and this removes this artefact
of history, allowing other gcc cleanups rather than meaning we futher
complicate the code.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/cross.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index d125f10d01..ee8e150e4c 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass @@ -23,7 +23,7 @@ STAGING_DIR_HOST = "${RECIPE_SYSROOT_NATIVE}" PACKAGE_ARCH = "${BUILD_ARCH}" -MULTIMACH_TARGET_SYS = "${PACKAGE_ARCH}${BUILD_VENDOR}-${BUILD_OS}" +MULTIMACH_TARGET_SYS = "${BUILD_ARCH}${BUILD_VENDOR}-${BUILD_OS}" export PKG_CONFIG_DIR = "${exec_prefix}/lib/pkgconfig" export PKG_CONFIG_SYSROOT_DIR = "" |