summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-01-09 13:46:44 +0000
committerRichard Purdie <richard@openedhand.com>2008-01-09 13:46:44 +0000
commitb1975f9168a195bebda9db170f4350c98e973634 (patch)
tree9aed032f2a9c672495d4ed7d81c165c4a7b0a249 /meta
parentf7a133e24cfd39d78ac630ea6a42956e123089e2 (diff)
downloadpoky-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.bb1
-rw-r--r--meta/packages/meta/meta-toolchain.bb4
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 @@
1TOOLCHAIN_TARGET_TASK = "task-poky-standalone-gmae-sdk-target" 1TOOLCHAIN_TARGET_TASK = "task-poky-standalone-gmae-sdk-target"
2TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-sdk-${DISTRO_VERSION}"
2require meta-toolchain.bb 3require 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 @@
1DESCRIPTION = "Meta package for building a installable toolchain" 1DESCRIPTION = "Meta package for building a installable toolchain"
2LICENSE = "MIT" 2LICENSE = "MIT"
3DEPENDS = "ipkg-native ipkg-utils-native fakeroot-native sed-native" 3DEPENDS = "ipkg-native ipkg-utils-native fakeroot-native sed-native"
4PR = "r1"
5 4
6inherit sdk meta 5inherit sdk meta
7 6
@@ -14,6 +13,7 @@ IPKG_TARGET = "ipkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}/${prefix}"
14 13
15TOOLCHAIN_HOST_TASK ?= "task-sdk-host" 14TOOLCHAIN_HOST_TASK ?= "task-sdk-host"
16TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target" 15TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target"
16TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${DISTRO_VERSION}"
17 17
18RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" 18RDEPENDS = "${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
128do_populate_sdk[nostamp] = "1" 128do_populate_sdk[nostamp] = "1"