| Message ID | 20251028073608.3074369-1-ejo@pengutronix.de |
|---|---|
| State | New |
| Headers | show |
| Series | barebox.bbclass: set KBUILD_OUTPUT | expand |
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
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 <ejo@pengutronix.de> --- meta/classes-recipe/barebox.bbclass | 2 ++ 1 file changed, 2 insertions(+)