summaryrefslogtreecommitdiff
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:38:53 +0100
commit658f2cc721b121c0a9a9e7aa8b41463952314c0b (patch)
tree46d3064befbef6e3a2fca0e3bcaa4f7f94fd06f5
parent220c1e5a3aeb20cf0657995d0af4a6eb811f2e24 (diff)
downloadopenembedded-core-658f2cc721b121c0a9a9e7aa8b41463952314c0b.tar.gz
openembedded-core-658f2cc721b121c0a9a9e7aa8b41463952314c0b.tar.bz2
openembedded-core-658f2cc721b121c0a9a9e7aa8b41463952314c0b.zip
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@windriver.com>
-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() {
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