Skip to contentSkip to conversation

kernel-yocto: add KBUILD_DEFCONFIG search location to failure message

PATCH New Bruce Ashfield 1 participant 1 message Sep 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel-yocto: add KBUILD_DEFCONFIG search location to failure message

From: Bruce Ashfield <[email protected]>

It was pointed out that since the check for the existence of KBUILD_DEFCONFIG knows where it is looking, that should be part of the error/log message.

We only look in one location for the defconfigs, so add where we checked to the message.

---
 meta/classes/kernel-yocto.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel-yocto.bbclass +1 -1
index 3b82321402..cf78ae2d18 100644
@@ -155,7 +155,7 @@ do_kernel_metadata() {
 			fi
 			in_tree_defconfig="${WORKDIR}/defconfig"
 		else
-			bbfatal "A KBUILD_DEFCONFIG '${KBUILD_DEFCONFIG}' was specified, but not present in the source tree"
+			bbfatal "A KBUILD_DEFCONFIG '${KBUILD_DEFCONFIG}' was specified, but not present in the source tree (${S}/arch/${ARCH}/configs/)"
 		fi
 	fi
 
Signature · 1 line
2.19.1