[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core][dunfell 33/41] kernel-yocto: add KBUILD_DEFCONFIG search location to failure message
From:       "Steve Sakoman" <steve () sakoman ! com>
Date:       2020-09-30 22:11:35
Message-ID: 9f0e7c1a17542aa36d4245f15f6ffbafcbaf9bd3.1601502610.git.steve () sakoman ! com
[Download RAW message or body]

From: Bruce Ashfield <bruce.ashfield@gmail.com>

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>
(cherry picked from commit 1d4d80be41d273abd1fb6416976603d924457973)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/classes/kernel-yocto.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index cc8bcb909a..ec5fb7b1de 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -148,7 +148,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
 
-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#142979): https://lists.openembedded.org/g/openembedded-core/message/142979
Mute This Topic: https://lists.openembedded.org/mt/77228490/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic