diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 918d101d3d..44863adc27 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
@@ -352,10 +352,14 @@ do_kernel_configme() { | |||
352 | bbfatal_log "Could not find configuration queue (${meta_dir}/config.queue)" | 352 | bbfatal_log "Could not find configuration queue (${meta_dir}/config.queue)" |
353 | fi | 353 | fi |
354 | 354 | ||
355 | CFLAGS="${CFLAGS} ${TOOLCHAIN_OPTIONS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}" CC="${KERNEL_CC}" LD="${KERNEL_LD}" ARCH=${ARCH} merge_config.sh -O ${B} ${config_flags} ${configs} | 355 | CFLAGS="${CFLAGS} ${TOOLCHAIN_OPTIONS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}" CC="${KERNEL_CC}" LD="${KERNEL_LD}" ARCH=${ARCH} merge_config.sh -O ${B} ${config_flags} ${configs} > ${meta_dir}/cfg/merge_config_build.log 2>&1 |
356 | |||
357 | if [ $? -ne 0 -o ! -f ${B}/.config ]; then | 356 | if [ $? -ne 0 -o ! -f ${B}/.config ]; then |
358 | bbfatal_log "Could not configure ${KMACHINE}-${LINUX_KERNEL_TYPE}" | 357 | bberror "Could not generate a .config for ${KMACHINE}-${LINUX_KERNEL_TYPE}" |
358 | if [ ${KCONF_AUDIT_LEVEL} -gt 1 ]; then | ||
359 | bbfatal_log "`cat ${meta_dir}/cfg/merge_config_build.log`" | ||
360 | else | ||
361 | bbfatal_log "Details can be found at: ${S}/${meta_dir}/cfg/merge_config_build.log" | ||
362 | fi | ||
359 | fi | 363 | fi |
360 | 364 | ||
361 | if [ ! -z "${LINUX_VERSION_EXTENSION}" ]; then | 365 | if [ ! -z "${LINUX_VERSION_EXTENSION}" ]; then |