[CONSOLIDATED,PULL,(Updated),11/15] linux-yocto: pass KMACHINE to updateme, not MACHINE

Submitted by Saul Wold on Aug. 7, 2011, 5:01 a.m. | Patch ID: 9477


Message ID 348d2fd0e13acdd914c5685b3e99794abbe16373.1312692935.git.sgw@linux.intel.com
State New, archived
Headers show

Commit Message

Saul Wold Aug. 7, 2011, 5:01 a.m.
From: Bruce Ashfield <bruce.ashfield@windriver.com>

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@windriver.com>
 meta/classes/kernel-yocto.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

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"
-	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