diff options
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 9a4d2864eb..e8a9b1f18e 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
@@ -359,8 +359,10 @@ do_kernel_configme() { | |||
359 | bbfatal_log "Could not configure ${KMACHINE}-${LINUX_KERNEL_TYPE}" | 359 | bbfatal_log "Could not configure ${KMACHINE}-${LINUX_KERNEL_TYPE}" |
360 | fi | 360 | fi |
361 | 361 | ||
362 | echo "# Global settings from linux recipe" >> ${B}/.config | 362 | if [ ! -z "${LINUX_VERSION_EXTENSION}" ]; then |
363 | echo "CONFIG_LOCALVERSION="\"${LINUX_VERSION_EXTENSION}\" >> ${B}/.config | 363 | echo "# Global settings from linux recipe" >> ${B}/.config |
364 | echo "CONFIG_LOCALVERSION="\"${LINUX_VERSION_EXTENSION}\" >> ${B}/.config | ||
365 | fi | ||
364 | } | 366 | } |
365 | 367 | ||
366 | addtask kernel_configme before do_configure after do_patch | 368 | addtask kernel_configme before do_configure after do_patch |