summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/kernel-yocto.bbclass5
-rw-r--r--meta/recipes-kernel/kern-tools/kern-tools-native_git.bb2
2 files changed, 5 insertions, 2 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 10a8d40d9c..1b37dc781a 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -45,6 +45,7 @@ def find_urls(d):
45 45
46do_patch() { 46do_patch() {
47 cd ${S} 47 cd ${S}
48 export KMETA=${KMETA}
48 49
49 # if kernel tools are available in-tree, they are preferred 50 # if kernel tools are available in-tree, they are preferred
50 # and are placed on the path before any external tools. Unless 51 # and are placed on the path before any external tools. Unless
@@ -62,7 +63,7 @@ do_patch() {
62 if [ -n "${KMETA}" ]; then 63 if [ -n "${KMETA}" ]; then
63 createme_flags="--disable-meta-gen" 64 createme_flags="--disable-meta-gen"
64 fi 65 fi
65 createme ${createme_flags} ${ARCH} ${kbranch} 66 createme ${createme_flags} --meta ${KMETA} ${ARCH} ${kbranch}
66 if [ $? -ne 0 ]; then 67 if [ $? -ne 0 ]; then
67 echo "ERROR. Could not create ${kbranch}" 68 echo "ERROR. Could not create ${kbranch}"
68 exit 1 69 exit 1
@@ -180,6 +181,7 @@ addtask kernel_checkout before do_patch after do_unpack
180do_kernel_configme[dirs] = "${S} ${B}" 181do_kernel_configme[dirs] = "${S} ${B}"
181do_kernel_configme() { 182do_kernel_configme() {
182 echo "[INFO] doing kernel configme" 183 echo "[INFO] doing kernel configme"
184 export KMETA=${KMETA}
183 185
184 if [ -n ${KCONFIG_MODE} ]; then 186 if [ -n ${KCONFIG_MODE} ]; then
185 configmeflags=${KCONFIG_MODE} 187 configmeflags=${KCONFIG_MODE}
@@ -220,6 +222,7 @@ python do_kernel_configcheck() {
220# are corrected to the proper commit. 222# are corrected to the proper commit.
221do_validate_branches() { 223do_validate_branches() {
222 cd ${S} 224 cd ${S}
225 export KMETA=${KMETA}
223 226
224 set +e 227 set +e
225 # if SRCREV is AUTOREV it shows up as AUTOINC there's nothing to 228 # if SRCREV is AUTOREV it shows up as AUTOINC there's nothing to
diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
index 0cb111c271..c176aed335 100644
--- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
+++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://git/tools/kgit;beginline=5;endline=9;md5=d8d1d729a70c
4 4
5DEPENDS = "git-native guilt-native" 5DEPENDS = "git-native guilt-native"
6 6
7SRCREV = "12c39b76eca4ed993b5ffb38cbe89e0608b216c3" 7SRCREV = "579b1ba2169d053c1330854f54f605bb6929d6d8"
8PR = "r12" 8PR = "r12"
9PV = "0.1+git${SRCPV}" 9PV = "0.1+git${SRCPV}"
10 10