diff options
author | Richard Purdie <richard@openedhand.com> | 2008-05-02 12:44:57 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-05-02 12:44:57 +0000 |
commit | 317b53682e178ddef3fe214fefcb881a42bd9acc (patch) | |
tree | 42044f13a0ad4382c3206bde8c91b135ba02f331 /meta | |
parent | a16b7a1c066bbc365d32d86613507a688ec736e6 (diff) | |
download | poky-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.bbclass | 5 |
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 | ||
5 | OLD_PACKAGE_ARCH := ${PACKAGE_ARCH} | 5 | OLD_PACKAGE_ARCH := ${PACKAGE_ARCH} |
6 | PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk" | 6 | PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk" |
7 | STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-sdk" | ||
7 | 8 | ||
8 | HOST_ARCH = "${BUILD_ARCH}" | 9 | HOST_ARCH = "${BUILD_ARCH}" |
9 | HOST_VENDOR = "${TARGET_VENDOR}" | 10 | HOST_VENDOR = "${BUILD_VENDOR}" |
10 | HOST_OS = "${BUILD_OS}" | 11 | HOST_OS = "${BUILD_OS}" |
11 | HOST_PREFIX = "${BUILD_PREFIX}" | 12 | HOST_PREFIX = "${BUILD_PREFIX}" |
12 | HOST_CC_ARCH = "${BUILD_CC_ARCH}" | 13 | HOST_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 | ||
53 | export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${HOST_SYS}" | 54 | export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}" |