summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-yocto.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r--meta/classes/kernel-yocto.bbclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 78a13099ee..ffc0b4c6ee 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -25,7 +25,7 @@ do_patch() {
25 addon_features="$addon_features --feature $feat" 25 addon_features="$addon_features --feature $feat"
26 done 26 done
27 fi 27 fi
28 updateme ${addon_features} ${ARCH} ${MACHINE} ${WORKDIR} 28 updateme --branch ${kbranch} ${addon_features} ${ARCH} ${MACHINE} ${WORKDIR}
29 if [ $? -ne 0 ]; then 29 if [ $? -ne 0 ]; then
30 echo "ERROR. Could not update ${kbranch}" 30 echo "ERROR. Could not update ${kbranch}"
31 exit 1 31 exit 1
@@ -87,9 +87,12 @@ do_kernel_configme() {
87 if [ -n "${YOCTO_KERNEL_EXTERNAL_BRANCH}" ]; then 87 if [ -n "${YOCTO_KERNEL_EXTERNAL_BRANCH}" ]; then
88 # switch from a generic to a specific branch 88 # switch from a generic to a specific branch
89 kbranch=${YOCTO_KERNEL_EXTERNAL_BRANCH} 89 kbranch=${YOCTO_KERNEL_EXTERNAL_BRANCH}
90 cd ${S}
91 git checkout ${kbranch}
92 else
93 cd ${S}
90 fi 94 fi
91 95
92 cd ${S}
93 configme --reconfig --output ${B} ${kbranch} ${MACHINE} 96 configme --reconfig --output ${B} ${kbranch} ${MACHINE}
94 if [ $? -ne 0 ]; then 97 if [ $? -ne 0 ]; then
95 echo "ERROR. Could not configure ${KMACHINE}-${LINUX_KERNEL_TYPE}" 98 echo "ERROR. Could not configure ${KMACHINE}-${LINUX_KERNEL_TYPE}"