summaryrefslogtreecommitdiffstats
path: root/classes/cross.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-10-01 12:09:10 +0000
committerKoen Kooi <koen@openembedded.org>2008-10-01 12:09:10 +0000
commit06ebbe3c1b203e826b503fc79a2cb4fa39cf7f38 (patch)
tree01bf4dda65cc38385a681abd187cc93eb460e442 /classes/cross.bbclass
parenta81e9cb308ad974e84285d65670c46ebd17dcaa5 (diff)
downloadopenembedded-06ebbe3c1b203e826b503fc79a2cb4fa39cf7f38.tar.gz
cross bbclass: sync with poky
Diffstat (limited to 'classes/cross.bbclass')
-rw-r--r--classes/cross.bbclass11
1 files changed, 7 insertions, 4 deletions
diff --git a/classes/cross.bbclass b/classes/cross.bbclass
index a35f4dfb79..9dddca127a 100644
--- a/classes/cross.bbclass
+++ b/classes/cross.bbclass
@@ -3,8 +3,11 @@
EXCLUDE_FROM_WORLD = "1"
# Save PACKAGE_ARCH before changing HOST_ARCH
-OLD_PACKAGE_ARCH := ${PACKAGE_ARCH}
-PACKAGE_ARCH = ${OLD_PACKAGE_ARCH}
+OLD_PACKAGE_ARCH := "${PACKAGE_ARCH}"
+PACKAGE_ARCH = "${OLD_PACKAGE_ARCH}"
+# Also save BASE_PACKAGE_ARCH since HOST_ARCH can influence it
+OLD_BASE_PACKAGE_ARCH := "${BASE_PACKAGE_ARCH}"
+BASE_PACKAGE_ARCH = "${OLD_BASE_PACKAGE_ARCH}"
PACKAGES = ""
@@ -49,8 +52,8 @@ bindir = "${exec_prefix}/bin"
sbindir = "${exec_prefix}/bin"
libexecdir = "${exec_prefix}/libexec"
libdir = "${exec_prefix}/lib"
-includedir = "${STAGING_DIR_TARGET}/${layout_includedir}"
-oldincludedir = "${STAGING_DIR_TARGET}/${layout_includedir}"
+includedir = "${exec_prefix}/include"
+oldincludedir = "${exec_prefix}/include"
do_stage () {
oe_runmake install