]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
devicetree.bbclass: switch away from S = WORKDIR
authorAndrey Zhizhikin <andrey.z@gmail.com>
Fri, 14 Jun 2024 06:46:47 +0000 (08:46 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Jun 2024 11:43:38 +0000 (12:43 +0100)
Since the change done in commit 32cba1cc916a ("insane: Error for S ==
WORKDIR"), usage of WORKDIR is not allowed anymore.

Switch S from WORKDIR to UNPACKDIR as implemented in commit d9328e3b0b06
("recipes: Switch away from S = WORKDIR").

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/devicetree.bbclass

index bd50d7fa1d38115b2e70d388758357de82238b33..1806cb62cbf793280b5fdedae5811c0dd09287c3 100644 (file)
@@ -40,7 +40,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 SYSROOT_DIRS += "/boot/devicetree"
 FILES:${PN} = "/boot/devicetree/*.dtb /boot/devicetree/*.dtbo"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 B = "${WORKDIR}/build"
 
 # Default kernel includes, these represent what are normally used for in-kernel