summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2025-06-16 11:49:56 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-06-20 12:07:26 +0100
commitefb0410d388cb389a18e299b87fdb3554d527b39 (patch)
tree0ba990254e449a421ab7ec56c3409c69e9100d24 /meta/classes-recipe
parente1f059f34e7f1e6a252aff1ec5b1eb3376bd4d65 (diff)
downloadpoky-efb0410d388cb389a18e299b87fdb3554d527b39.tar.gz
meta: set S from UNPACKDIR in recipes that use only local files
There is no need to have two assignments; also setting S from UNPACKDIR (and not vice versa) is more logical as unpack task comes first, and tasks that come after unpack use S to access unpack results. Also adjust reference test data in selftest/recipeutils to reflect changes in test recipes. (From OE-Core rev: f64b7e5fb3181734c8dde87b27e872a026261a74) Signed-off-by: Alexander Kanavin <alex@linutronix.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/classes-recipe')
-rw-r--r--meta/classes-recipe/devicetree.bbclass3
-rw-r--r--meta/classes-recipe/kernel-fit-image.bbclass3
2 files changed, 2 insertions, 4 deletions
diff --git a/meta/classes-recipe/devicetree.bbclass b/meta/classes-recipe/devicetree.bbclass
index 2a2ac93e9b..ce9d008aac 100644
--- a/meta/classes-recipe/devicetree.bbclass
+++ b/meta/classes-recipe/devicetree.bbclass
@@ -40,8 +40,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
40SYSROOT_DIRS += "/boot/devicetree" 40SYSROOT_DIRS += "/boot/devicetree"
41FILES:${PN} = "/boot/devicetree/*.dtb /boot/devicetree/*.dtbo" 41FILES:${PN} = "/boot/devicetree/*.dtb /boot/devicetree/*.dtbo"
42 42
43S = "${WORKDIR}/sources" 43S = "${UNPACKDIR}"
44UNPACKDIR = "${S}"
45B = "${WORKDIR}/build" 44B = "${WORKDIR}/build"
46 45
47# Default kernel includes, these represent what are normally used for in-kernel 46# Default kernel includes, these represent what are normally used for in-kernel
diff --git a/meta/classes-recipe/kernel-fit-image.bbclass b/meta/classes-recipe/kernel-fit-image.bbclass
index d2eebb88bc..39845997ed 100644
--- a/meta/classes-recipe/kernel-fit-image.bbclass
+++ b/meta/classes-recipe/kernel-fit-image.bbclass
@@ -2,8 +2,7 @@
2inherit kernel-arch kernel-artifact-names uboot-config deploy 2inherit kernel-arch kernel-artifact-names uboot-config deploy
3require conf/image-fitimage.conf 3require conf/image-fitimage.conf
4 4
5S = "${WORKDIR}/sources" 5S = "${UNPACKDIR}"
6UNPACKDIR = "${S}"
7 6
8PACKAGE_ARCH = "${MACHINE_ARCH}" 7PACKAGE_ARCH = "${MACHINE_ARCH}"
9 8