Skip to contentSkip to conversation

devicetree.bbclass: switch away from S = WORKDIR

PATCH New Andrey Zhizhikin 1 participant 1 message Jun 14, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 devicetree.bbclass: switch away from S = WORKDIR

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").

---
 meta/classes-recipe/devicetree.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/classes-recipe/devicetree.bbclass +2 -1
index bd50d7fa1d..1806cb62cb 100644
@@ -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
Signature · 1 line
2.34.1