summaryrefslogtreecommitdiffstats
path: root/meta
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
parenta16b7a1c066bbc365d32d86613507a688ec736e6 (diff)
downloadpoky-317b53682e178ddef3fe214fefcb881a42bd9acc.tar.gz
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')
-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"
4 4
5OLD_PACKAGE_ARCH := ${PACKAGE_ARCH} 5OLD_PACKAGE_ARCH := ${PACKAGE_ARCH}
6PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk" 6PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk"
7STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-sdk"
7 8
8HOST_ARCH = "${BUILD_ARCH}" 9HOST_ARCH = "${BUILD_ARCH}"
9HOST_VENDOR = "${TARGET_VENDOR}" 10HOST_VENDOR = "${BUILD_VENDOR}"
10HOST_OS = "${BUILD_OS}" 11HOST_OS = "${BUILD_OS}"
11HOST_PREFIX = "${BUILD_PREFIX}" 12HOST_PREFIX = "${BUILD_PREFIX}"
12HOST_CC_ARCH = "${BUILD_CC_ARCH}" 13HOST_CC_ARCH = "${BUILD_CC_ARCH}"
@@ -50,4 +51,4 @@ FILES_${PN}-dbg += "${prefix}/.debug \
50 ${prefix}/bin/.debug \ 51 ${prefix}/bin/.debug \
51 " 52 "
52 53
53export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${HOST_SYS}" 54export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"