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>
This commit is contained in:
Bruce Ashfield 2011-07-29 10:19:00 -04:00 committed by Richard Purdie
parent 24e952255e
commit b0f12a1612
1 changed files with 1 additions and 1 deletions

View 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