summaryrefslogtreecommitdiff
path: root/meta/classes/sdk.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-05-02 12:44:57 +0000
committerRichard Purdie <richard@openedhand.com>2008-05-02 12:44:57 +0000
commit317b53682e178ddef3fe214fefcb881a42bd9acc (patch)
tree42044f13a0ad4382c3206bde8c91b135ba02f331 /meta/classes/sdk.bbclass
parenta16b7a1c066bbc365d32d86613507a688ec736e6 (diff)
downloadopenembedded-core-317b53682e178ddef3fe214fefcb881a42bd9acc.tar.gz
openembedded-core-317b53682e178ddef3fe214fefcb881a42bd9acc.tar.bz2
openembedded-core-317b53682e178ddef3fe214fefcb881a42bd9acc.zip
sdk.bbclass: Instead of changing HOST_VENDOR which badly affects gcc compilation, modify STAGING_DIR_HOST.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4406 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/sdk.bbclass')
-rw-r--r--meta/classes/sdk.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/sdk.bbclass b/meta/classes/sdk.bbclass
index fb487feaee..f01c3b7afe 100644
--- a/meta/classes/sdk.bbclass
+++ b/meta/classes/sdk.bbclass
@@ -4,9 +4,10 @@ EXCLUDE_FROM_WORLD = "1"
OLD_PACKAGE_ARCH := ${PACKAGE_ARCH}
PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk"
+STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-sdk"
HOST_ARCH = "${BUILD_ARCH}"
-HOST_VENDOR = "${TARGET_VENDOR}"
+HOST_VENDOR = "${BUILD_VENDOR}"
HOST_OS = "${BUILD_OS}"
HOST_PREFIX = "${BUILD_PREFIX}"
HOST_CC_ARCH = "${BUILD_CC_ARCH}"
@@ -50,4 +51,4 @@ FILES_${PN}-dbg += "${prefix}/.debug \
${prefix}/bin/.debug \
"
-export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${HOST_SYS}"
+export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"