summaryrefslogtreecommitdiff
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
parentf7a133e24cfd39d78ac630ea6a42956e123089e2 (diff)
downloadopenembedded-core-b1975f9168a195bebda9db170f4350c98e973634.tar.gz
openembedded-core-b1975f9168a195bebda9db170f4350c98e973634.tar.bz2
openembedded-core-b1975f9168a195bebda9db170f4350c98e973634.tar.xz
openembedded-core-b1975f9168a195bebda9db170f4350c98e973634.zip
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
-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 61f6a18e1..4da9391dd 100644
--- a/meta/packages/meta/meta-toolchain-sdk.bb
+++ b/meta/packages/meta/meta-toolchain-sdk.bb
@@ -1,2 +1,3 @@
TOOLCHAIN_TARGET_TASK = "task-poky-standalone-gmae-sdk-target"
+TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-sdk-${DISTRO_VERSION}"
require meta-toolchain.bb
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb
index 45d1009f3..dfa28e163 100644
--- a/meta/packages/meta/meta-toolchain.bb
+++ b/meta/packages/meta/meta-toolchain.bb
@@ -1,7 +1,6 @@
DESCRIPTION = "Meta package for building a installable toolchain"
LICENSE = "MIT"
DEPENDS = "ipkg-native ipkg-utils-native fakeroot-native sed-native"
-PR = "r1"
inherit sdk meta
@@ -14,6 +13,7 @@ IPKG_TARGET = "ipkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}/${prefix}"
TOOLCHAIN_HOST_TASK ?= "task-sdk-host"
TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target"
+TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${DISTRO_VERSION}"
RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
@@ -122,7 +122,7 @@ do_populate_sdk() {
# Package it up
mkdir -p ${SDK_DEPLOY}
cd ${SDK_OUTPUT}
- fakeroot tar cfj ${SDK_DEPLOY}/${SDK_NAME}-toolchain-${DISTRO_VERSION}.tar.bz2 .
+ fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 .
}
do_populate_sdk[nostamp] = "1"