From 7c8f742ecc69974bcf20fe6449b460a2cde6f9ef Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 14 Sep 2009 20:17:36 -0700 Subject: 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 Acked-by: Andrea Adami gmail.com> --- classes/cross.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'classes/cross.bbclass') 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}" -- cgit v1.2.3