Bladeren bron

kernel-yocto: add KBUILD_DEFCONFIG search location to failure message

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.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield 3 jaren geleden
bovenliggende
commit
1d4d80be41
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      meta/classes/kernel-yocto.bbclass

+ 1 - 1
meta/classes/kernel-yocto.bbclass

@@ -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