summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-12-10 11:18:33 +0000
committerKoen Kooi <koen@openembedded.org>2007-12-10 11:18:33 +0000
commitb8ff4dd3169fb27b4ab314177fa2dc761d3d68ea (patch)
tree68490ebc0e0539d603fb4e41f784d08316814978 /packages
parentf467b31fb367bca6b2cb94804ae16dee9ef72d80 (diff)
meta-toolchain: use FEED_ARCH in tarball-name
Diffstat (limited to 'packages')
-rw-r--r--packages/meta/meta-toolchain.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/meta/meta-toolchain.bb b/packages/meta/meta-toolchain.bb
index 8f366001e1..91467e5140 100644
--- a/packages/meta/meta-toolchain.bb
+++ b/packages/meta/meta-toolchain.bb
@@ -8,6 +8,8 @@ SDK_DIR = "${WORKDIR}/sdk"
SDK_OUTPUT = "${SDK_DIR}/image"
SDK_DEPLOY = "${TMPDIR}/deploy/sdk"
+FEED_ARCH ?= "${TARGET_ARCH}"
+
IPKG_HOST = "ipkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}"
IPKG_TARGET = "ipkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}/${prefix}"
@@ -118,7 +120,7 @@ do_populate_sdk() {
# package it up
mkdir -p ${SDK_DEPLOY}
cd ${SDK_OUTPUT}
- fakeroot tar cfj ${SDK_DEPLOY}/${DISTRO}-${DISTRO_VERSION}-${TARGET_ARCH}-${TARGET_OS}-toolchain.tar.bz2 .
+ fakeroot tar cfj ${SDK_DEPLOY}/${DISTRO}-${DISTRO_VERSION}-${FEED_ARCH}-${TARGET_OS}-toolchain.tar.bz2 .
}
do_populate_sdk[nostamp] = "1"