]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-yocto: pass KMACHINE to updateme, not MACHINE
authorBruce Ashfield <bruce.ashfield@windriver.com>
Fri, 29 Jul 2011 14:19:00 +0000 (10:19 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Aug 2011 12:38:53 +0000 (13:38 +0100)
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

index a374df13bee3b7c130ba0f268e772c4631b6e353..5e7003bd4e7fa434212eea096ee5b2b620cf8d04 100644 (file)
@@ -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