diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2025-06-16 11:49:56 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-20 12:07:26 +0100 |
| commit | efb0410d388cb389a18e299b87fdb3554d527b39 (patch) | |
| tree | 0ba990254e449a421ab7ec56c3409c69e9100d24 /meta/recipes-devtools/devel-config | |
| parent | e1f059f34e7f1e6a252aff1ec5b1eb3376bd4d65 (diff) | |
| download | poky-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/recipes-devtools/devel-config')
| -rw-r--r-- | meta/recipes-devtools/devel-config/distcc-config.bb | 3 | ||||
| -rw-r--r-- | meta/recipes-devtools/devel-config/nfs-export-root.bb | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-devtools/devel-config/distcc-config.bb b/meta/recipes-devtools/devel-config/distcc-config.bb index 2c30488b82..f5b2f0f246 100644 --- a/meta/recipes-devtools/devel-config/distcc-config.bb +++ b/meta/recipes-devtools/devel-config/distcc-config.bb | |||
| @@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384 | |||
| 6 | 6 | ||
| 7 | SRC_URI = "file://distcc.sh" | 7 | SRC_URI = "file://distcc.sh" |
| 8 | 8 | ||
| 9 | S = "${WORKDIR}/sources" | 9 | S = "${UNPACKDIR}" |
| 10 | UNPACKDIR = "${S}" | ||
| 11 | 10 | ||
| 12 | # Default to the host machine for a running qemu session | 11 | # Default to the host machine for a running qemu session |
| 13 | DISTCC_HOSTS ?= "192.168.7.1" | 12 | DISTCC_HOSTS ?= "192.168.7.1" |
diff --git a/meta/recipes-devtools/devel-config/nfs-export-root.bb b/meta/recipes-devtools/devel-config/nfs-export-root.bb index ad5486aa87..a827bb58ee 100644 --- a/meta/recipes-devtools/devel-config/nfs-export-root.bb +++ b/meta/recipes-devtools/devel-config/nfs-export-root.bb | |||
| @@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384 | |||
| 5 | 5 | ||
| 6 | SRC_URI = "file://exports" | 6 | SRC_URI = "file://exports" |
| 7 | 7 | ||
| 8 | S = "${WORKDIR}/sources" | 8 | S = "${UNPACKDIR}" |
| 9 | UNPACKDIR = "${S}" | ||
| 10 | 9 | ||
| 11 | do_install() { | 10 | do_install() { |
| 12 | install -d ${D}${sysconfdir} | 11 | install -d ${D}${sysconfdir} |
