From: Enrico Jörns Date: Tue, 28 Oct 2025 07:36:01 +0000 (+0100) Subject: barebox.bbclass: set KBUILD_OUTPUT X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7e72477b8f4c323e3ea0497877c1b6486b2547a5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git barebox.bbclass: set KBUILD_OUTPUT Sets KBUILD_OUTPUT to the build directory to ensure using the valid path in e.g. menuconfig or devshell. An externally set KBUILD_OUTPUT could otherwise confuse the build process and create the .config from an invalid folder. This is what the kernel recipes also do. Signed-off-by: Enrico Jörns Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/barebox.bbclass b/meta/classes-recipe/barebox.bbclass index ece8fb6485..73615999aa 100644 --- a/meta/classes-recipe/barebox.bbclass +++ b/meta/classes-recipe/barebox.bbclass @@ -16,6 +16,8 @@ DEPENDS += "bison-native flex-native lz4-native" S = "${UNPACKDIR}/barebox-${PV}" B = "${WORKDIR}/build" +KBUILD_OUTPUT = "${B}" +OE_TERMINAL_EXPORTS += "KBUILD_OUTPUT" require conf/image-uefi.conf