summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-09-14 20:17:36 -0700
committerKhem Raj <raj.khem@gmail.com>2009-09-14 23:36:55 -0700
commit7c8f742ecc69974bcf20fe6449b460a2cde6f9ef (patch)
tree26ed83c29417f71118c0f8bd9467e9e4384305e9 /classes
parent2aaa77d10a35012cd1c7a86c1fb583c4fabcf782 (diff)
cross.bbclass: Override BASEPKG_HOST_SYS
* BASEPKG_HOST_SYS from bitbake.conf is set as if packages were being built for target. So we need to override it for cross packages. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Andrea Adami <andrea.adami <at> gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/cross.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/cross.bbclass b/classes/cross.bbclass
index 7debde6669..68e3803f3e 100644
--- a/classes/cross.bbclass
+++ b/classes/cross.bbclass
@@ -17,6 +17,7 @@ HOST_OS = "${BUILD_OS}"
HOST_PREFIX = "${BUILD_PREFIX}"
HOST_CC_ARCH = "${BUILD_CC_ARCH}"
HOST_EXEEXT = "${BUILD_EXEEXT}"
+BASEPKG_HOST_SYS = "${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}"
CPPFLAGS = "${BUILD_CPPFLAGS}"
CFLAGS = "${BUILD_CFLAGS}"