summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorEnrico Jörns <ejo@pengutronix.de>2025-10-28 08:36:01 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-30 11:06:28 +0000
commit78bd8888af221923c3e6ac36349fe2df81323c97 (patch)
tree062c2158ba9d24c11844354f78e4c9b7316662bb /meta
parent2d7b511b207dbf6e08240fc9a02c19cb30dcbde5 (diff)
downloadpoky-78bd8888af221923c3e6ac36349fe2df81323c97.tar.gz
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. (From OE-Core rev: 7e72477b8f4c323e3ea0497877c1b6486b2547a5) Signed-off-by: Enrico Jörns <ejo@pengutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes-recipe/barebox.bbclass2
1 files changed, 2 insertions, 0 deletions
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"
16 16
17S = "${UNPACKDIR}/barebox-${PV}" 17S = "${UNPACKDIR}/barebox-${PV}"
18B = "${WORKDIR}/build" 18B = "${WORKDIR}/build"
19KBUILD_OUTPUT = "${B}"
20OE_TERMINAL_EXPORTS += "KBUILD_OUTPUT"
19 21
20require conf/image-uefi.conf 22require conf/image-uefi.conf
21 23