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 ffc0b4c6ee..818a07e219 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
@@ -13,7 +13,10 @@ do_patch() { | |||
13 | fi | 13 | fi |
14 | 14 | ||
15 | # simply ensures that a branch of the right name has been created | 15 | # simply ensures that a branch of the right name has been created |
16 | createme ${ARCH} ${kbranch} ${defconfig} | 16 | if [ -n "${YOCTO_KERNEL_META_DATA}" ]; then |
17 | createme_flags="--disable-meta-gen" | ||
18 | fi | ||
19 | createme ${createme_flags} ${ARCH} ${kbranch} ${defconfig} | ||
17 | if [ $? -ne 0 ]; then | 20 | if [ $? -ne 0 ]; then |
18 | echo "ERROR. Could not create ${kbranch}" | 21 | echo "ERROR. Could not create ${kbranch}" |
19 | exit 1 | 22 | exit 1 |