mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user