diff options
author | Richard Purdie <richard@openedhand.com> | 2008-01-09 13:46:44 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-01-09 13:46:44 +0000 |
commit | b1975f9168a195bebda9db170f4350c98e973634 (patch) | |
tree | 9aed032f2a9c672495d4ed7d81c165c4a7b0a249 /meta | |
parent | f7a133e24cfd39d78ac630ea6a42956e123089e2 (diff) | |
download | poky-b1975f9168a195bebda9db170f4350c98e973634.tar.gz |
meta-toolchain: Allow output name to be overridden
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3438 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/meta/meta-toolchain-sdk.bb | 1 | ||||
-rw-r--r-- | meta/packages/meta/meta-toolchain.bb | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/meta/packages/meta/meta-toolchain-sdk.bb b/meta/packages/meta/meta-toolchain-sdk.bb index 61f6a18e1e..4da9391dd8 100644 --- a/meta/packages/meta/meta-toolchain-sdk.bb +++ b/meta/packages/meta/meta-toolchain-sdk.bb | |||
@@ -1,2 +1,3 @@ | |||
1 | TOOLCHAIN_TARGET_TASK = "task-poky-standalone-gmae-sdk-target" | 1 | TOOLCHAIN_TARGET_TASK = "task-poky-standalone-gmae-sdk-target" |
2 | TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-sdk-${DISTRO_VERSION}" | ||
2 | require meta-toolchain.bb | 3 | require meta-toolchain.bb |
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb index 45d1009f3f..dfa28e163a 100644 --- a/meta/packages/meta/meta-toolchain.bb +++ b/meta/packages/meta/meta-toolchain.bb | |||
@@ -1,7 +1,6 @@ | |||
1 | DESCRIPTION = "Meta package for building a installable toolchain" | 1 | DESCRIPTION = "Meta package for building a installable toolchain" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | DEPENDS = "ipkg-native ipkg-utils-native fakeroot-native sed-native" | 3 | DEPENDS = "ipkg-native ipkg-utils-native fakeroot-native sed-native" |
4 | PR = "r1" | ||
5 | 4 | ||
6 | inherit sdk meta | 5 | inherit sdk meta |
7 | 6 | ||
@@ -14,6 +13,7 @@ IPKG_TARGET = "ipkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}/${prefix}" | |||
14 | 13 | ||
15 | TOOLCHAIN_HOST_TASK ?= "task-sdk-host" | 14 | TOOLCHAIN_HOST_TASK ?= "task-sdk-host" |
16 | TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target" | 15 | TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target" |
16 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${DISTRO_VERSION}" | ||
17 | 17 | ||
18 | RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" | 18 | RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" |
19 | 19 | ||
@@ -122,7 +122,7 @@ do_populate_sdk() { | |||
122 | # Package it up | 122 | # Package it up |
123 | mkdir -p ${SDK_DEPLOY} | 123 | mkdir -p ${SDK_DEPLOY} |
124 | cd ${SDK_OUTPUT} | 124 | cd ${SDK_OUTPUT} |
125 | fakeroot tar cfj ${SDK_DEPLOY}/${SDK_NAME}-toolchain-${DISTRO_VERSION}.tar.bz2 . | 125 | fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . |
126 | } | 126 | } |
127 | 127 | ||
128 | do_populate_sdk[nostamp] = "1" | 128 | do_populate_sdk[nostamp] = "1" |