[oe-commits] Laurentiu Palcu : meta-environment: change package name to include MACHINE

git at git.openembedded.org git at git.openembedded.org
Thu Sep 12 15:38:41 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 09a2b158818e2ec3c3e3b53b6d14fd3527c32c99
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=09a2b158818e2ec3c3e3b53b6d14fd3527c32c99

Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
Date:   Tue Sep 10 18:10:46 2013 +0300

meta-environment: change package name to include MACHINE

Currently, the package name contains just the TRANSLATED_TARGET_ARCH.
When compiling the toolchain for two machines, belonging to the same
architecture (for example: qemuarm and beagleboard), this package gets
overwritten and adt-installer repo will contain just one
meta-environment package... This leads to situations like installing the
toolchain for qemuarm and end up with meta-environment package with
beagleboard cpu options.

[YOCTO #4783]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

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

diff --git a/meta/recipes-core/meta/meta-environment.bb b/meta/recipes-core/meta/meta-environment.bb
index 9731300..3a71a9b 100644
--- a/meta/recipes-core/meta/meta-environment.bb
+++ b/meta/recipes-core/meta/meta-environment.bb
@@ -37,7 +37,7 @@ do_install() {
     install -m 0644 -t ${D}/${SDKPATH} ${SDK_OUTPUT}/${SDKPATH}/*
 }
 
-PN = "meta-environment-${TRANSLATED_TARGET_ARCH}"
+PN = "meta-environment-${MACHINE}"
 PACKAGES = "${PN}"
 FILES_${PN}= " \
     ${SDKPATH}/* \



More information about the Openembedded-commits mailing list