diff options
author | Richard Purdie <richard@openedhand.com> | 2007-06-27 14:13:23 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-06-27 14:13:23 +0000 |
commit | 13438101436699a3f4adc23f7d87e3c37c3b0322 (patch) | |
tree | 1e400285aa8c11fd49288b21c07f643b709a11ba | |
parent | 569253545164f1fa0349f6f862abdffdd9627371 (diff) | |
download | poky-13438101436699a3f4adc23f7d87e3c37c3b0322.tar.gz |
bitbake.conf: Move SDK_NAME and SDK_PREFIX into bitbake.conf
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2035 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/classes/sdk.bbclass | 4 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 3 | ||||
-rw-r--r-- | meta/conf/external_toolchain.conf | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/meta/classes/sdk.bbclass b/meta/classes/sdk.bbclass index 38df66eb4d..8067798000 100644 --- a/meta/classes/sdk.bbclass +++ b/meta/classes/sdk.bbclass | |||
@@ -2,8 +2,6 @@ | |||
2 | # or indirectly via dependency. No need to be in 'world'. | 2 | # or indirectly via dependency. No need to be in 'world'. |
3 | EXCLUDE_FROM_WORLD = "1" | 3 | EXCLUDE_FROM_WORLD = "1" |
4 | 4 | ||
5 | SDK_NAME = "${DISTRO}/${TARGET_ARCH}" | ||
6 | |||
7 | OLD_PACKAGE_ARCH := ${PACKAGE_ARCH} | 5 | OLD_PACKAGE_ARCH := ${PACKAGE_ARCH} |
8 | PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk" | 6 | PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk" |
9 | 7 | ||
@@ -18,7 +16,7 @@ CFLAGS = "${BUILD_CFLAGS}" | |||
18 | CXXFLAGS = "${BUILD_CFLAGS}" | 16 | CXXFLAGS = "${BUILD_CFLAGS}" |
19 | LDFLAGS = "${BUILD_LDFLAGS}" | 17 | LDFLAGS = "${BUILD_LDFLAGS}" |
20 | 18 | ||
21 | prefix = "/usr/local/${SDK_NAME}" | 19 | prefix = "${SDK_PREFIX}" |
22 | exec_prefix = "${prefix}" | 20 | exec_prefix = "${prefix}" |
23 | base_prefix = "${exec_prefix}" | 21 | base_prefix = "${exec_prefix}" |
24 | 22 | ||
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 296f2c9abd..f75e7c59de 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -180,6 +180,9 @@ DEPLOY_DIR_IPK = "${DEPLOY_DIR}/ipk" | |||
180 | DEPLOY_DIR_RPM = "${DEPLOY_DIR}/rpm" | 180 | DEPLOY_DIR_RPM = "${DEPLOY_DIR}/rpm" |
181 | DEPLOY_DIR_DEB = "${DEPLOY_DIR}/deb" | 181 | DEPLOY_DIR_DEB = "${DEPLOY_DIR}/deb" |
182 | 182 | ||
183 | SDK_NAME = "${DISTRO}/${TARGET_ARCH}" | ||
184 | SDK_PREFIX = "/usr/local/${SDK_NAME}" | ||
185 | |||
183 | ################################################################## | 186 | ################################################################## |
184 | # Kernel info. | 187 | # Kernel info. |
185 | ################################################################## | 188 | ################################################################## |
diff --git a/meta/conf/external_toolchain.conf b/meta/conf/external_toolchain.conf index 6a1b8e71b9..3856fe1ca6 100644 --- a/meta/conf/external_toolchain.conf +++ b/meta/conf/external_toolchain.conf | |||
@@ -1,6 +1,6 @@ | |||
1 | TARGET_VENDOR = "-poky" | 1 | TARGET_VENDOR = "-poky" |
2 | 2 | ||
3 | EXTERNAL_TOOLCHAIN = "/usr/local/poky/${TARGET_ARCH}" | 3 | EXTERNAL_TOOLCHAIN = "${SDK_PREFIX}" |
4 | 4 | ||
5 | PATH =. ":${EXTERNAL_TOOLCHAIN}/bin:" | 5 | PATH =. ":${EXTERNAL_TOOLCHAIN}/bin:" |
6 | 6 | ||