summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2011-07-29 10:19:00 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-08 13:41:21 +0100
commitb0f12a16123d758f5cff8ad0a662d38a5aed1ddc (patch)
tree2b992ecdaef64c8c1d8baa9ab955614fdaa62a8d
parent24e952255e2193771653cc8f2c52fe5fae0be9d3 (diff)
downloadpoky-b0f12a16123d758f5cff8ad0a662d38a5aed1ddc.tar.gz
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. (From OE-Core rev: 658f2cc721b121c0a9a9e7aa8b41463952314c0b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/kernel-yocto.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index a374df13be..5e7003bd4e 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -28,7 +28,7 @@ do_patch() {
28 addon_features="$addon_features --feature $feat" 28 addon_features="$addon_features --feature $feat"
29 done 29 done
30 fi 30 fi
31 updateme --branch ${kbranch} ${addon_features} ${ARCH} ${MACHINE} ${WORKDIR} 31 updateme --branch ${kbranch} ${addon_features} ${ARCH} ${KMACHINE} ${WORKDIR}
32 if [ $? -ne 0 ]; then 32 if [ $? -ne 0 ]; then
33 echo "ERROR. Could not update ${kbranch}" 33 echo "ERROR. Could not update ${kbranch}"
34 exit 1 34 exit 1