[oe] [PATCH v2] meta-toolchain: Show build arch in archive name

Antonio Ospite ospite at studenti.unina.it
Sun Feb 28 18:02:52 UTC 2010


Show build arch in toolchain archive name so to easily recognize
toolchains for the same targets but meant to be used on different build
systems.

Examples:
 minimal-.dev-snapshot-20100216-i686-linux-armv5te-linux-gnueabi-toolchain.tar.bz2
 minimal-.dev-snapshot-20100216-x86_64-linux-armv5te-linux-gnueabi-toolchain.tar.bz2

Signed-off-by: Antonio Ospite <ospite at studenti.unina.it>
---
In canadian-sdk.bb ${SDK_SYS} is used as a prefix but I find it more
logical to put it just before the target system info.

 recipes/meta/meta-toolchain.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/meta/meta-toolchain.bb b/recipes/meta/meta-toolchain.bb
index 066ffe9..688995c 100644
--- a/recipes/meta/meta-toolchain.bb
+++ b/recipes/meta/meta-toolchain.bb
@@ -17,7 +17,7 @@ TOOLCHAIN_TARGET_TASK ?= "task-sdk-bare"
 TOOLCHAIN_TARGET_EXCLUDE ?= ""
 FEED_ARCH ?= "${TARGET_ARCH}"
 SDK_SUFFIX = "toolchain"
-TOOLCHAIN_OUTPUTNAME ?= "${DISTRO}-${DISTRO_VERSION}-${FEED_ARCH}-${TARGET_OS}-${SDK_SUFFIX}"
+TOOLCHAIN_OUTPUTNAME ?= "${DISTRO}-${DISTRO_VERSION}-${SDK_SYS}-${FEED_ARCH}-${TARGET_OS}-${SDK_SUFFIX}"
 
 RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
 
-- 
1.7.0





More information about the Openembedded-devel mailing list