[oe-commits] Bruce Ashfield : linux-yocto: pass KMACHINE to updateme, not MACHINE

git version control git at git.openembedded.org
Mon Aug 8 12:42:39 UTC 2011


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

Author: Bruce Ashfield <bruce.ashfield at windriver.com>
Date:   Fri Jul 29 10:19:00 2011 -0400

linux-yocto: pass KMACHINE to updateme, not MACHINE

To support the mapping of any oe/yocto MACHINE to a kernel
branch that may not share that naming structure we have
KMACHINE and KBRANCH. To allow the mapping to work, we
actually have to pass KMACHINE into updateme and not MACHINE.

Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>

---

 meta/classes/kernel-yocto.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index a374df1..5e7003b 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -28,7 +28,7 @@ do_patch() {
 			addon_features="$addon_features --feature $feat"
 		done
 	fi
-	updateme --branch ${kbranch} ${addon_features} ${ARCH} ${MACHINE} ${WORKDIR}
+	updateme --branch ${kbranch} ${addon_features} ${ARCH} ${KMACHINE} ${WORKDIR}
 	if [ $? -ne 0 ]; then
 		echo "ERROR. Could not update ${kbranch}"
 		exit 1





More information about the Openembedded-commits mailing list