diff options
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 5 |
1 files changed, 4 insertions, 1 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 | ||
46 | do_patch() { | 46 | do_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 | |||
180 | do_kernel_configme[dirs] = "${S} ${B}" | 181 | do_kernel_configme[dirs] = "${S} ${B}" |
181 | do_kernel_configme() { | 182 | do_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. |
221 | do_validate_branches() { | 223 | do_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 |