diff options
author | Richard Purdie <richard@openedhand.com> | 2008-01-17 10:40:36 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-01-17 10:40:36 +0000 |
commit | 70dc1470118bb4afd39fe2efb031eb2a7080dac6 (patch) | |
tree | 9905c9ee1958ca74039a913565a775b332f1cb81 /meta/classes/sdk.bbclass | |
parent | 551ae761ebd098ebec45253d5474e297dea0ea01 (diff) | |
download | poky-70dc1470118bb4afd39fe2efb031eb2a7080dac6.tar.gz |
sdk.bbclass: Set rpath correctly for sdk binaries and use the target prefix to ensure sdk and native staging don't mix.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3501 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/sdk.bbclass')
-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 63f12117eb..d6aca0fccd 100644 --- a/meta/classes/sdk.bbclass +++ b/meta/classes/sdk.bbclass | |||
@@ -6,15 +6,16 @@ OLD_PACKAGE_ARCH := ${PACKAGE_ARCH} | |||
6 | PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk" | 6 | PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk" |
7 | 7 | ||
8 | HOST_ARCH = "${BUILD_ARCH}" | 8 | HOST_ARCH = "${BUILD_ARCH}" |
9 | HOST_VENDOR = "${BUILD_VENDOR}" | 9 | HOST_VENDOR = "${TARGET_VENDOR}" |
10 | HOST_OS = "${BUILD_OS}" | 10 | HOST_OS = "${BUILD_OS}" |
11 | HOST_PREFIX = "${BUILD_PREFIX}" | 11 | HOST_PREFIX = "${BUILD_PREFIX}" |
12 | HOST_CC_ARCH = "${BUILD_CC_ARCH}" | 12 | HOST_CC_ARCH = "${BUILD_CC_ARCH}" |
13 | #HOST_SYS = "${HOST_ARCH}${TARGET_VENDOR}-${HOST_OS}" | ||
13 | 14 | ||
14 | CPPFLAGS = "${BUILD_CPPFLAGS}" | 15 | CPPFLAGS = "${BUILD_CPPFLAGS}" |
15 | CFLAGS = "${BUILD_CFLAGS}" | 16 | CFLAGS = "${BUILD_CFLAGS}" |
16 | CXXFLAGS = "${BUILD_CFLAGS}" | 17 | CXXFLAGS = "${BUILD_CFLAGS}" |
17 | LDFLAGS = "${BUILD_LDFLAGS}" | 18 | LDFLAGS = "${BUILDSDK_LDFLAGS}" |
18 | 19 | ||
19 | # Path prefixes | 20 | # Path prefixes |
20 | prefix = "${SDK_PREFIX}" | 21 | prefix = "${SDK_PREFIX}" |