mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 15:49:36 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
e1f059f34e
commit
efb0410d38
@@ -7,8 +7,7 @@ SRC_URI = "file://dt-doc-validate \
|
||||
file://dt-mk-schema \
|
||||
file://dt-validate"
|
||||
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
S = "${UNPACKDIR}"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}/
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
SUMMARY = "Wrapper script for the Linux kernel module dependency indexer"
|
||||
LICENSE = "MIT"
|
||||
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
S = "${UNPACKDIR}"
|
||||
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
# The kernel and the staging dir for it is machine specific
|
||||
|
||||
@@ -31,8 +31,7 @@ COMPATIBLE_HOST = ".*-linux"
|
||||
|
||||
SRC_URI = "file://COPYING.GPL"
|
||||
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
S = "${UNPACKDIR}"
|
||||
|
||||
do_configure() {
|
||||
:
|
||||
|
||||
@@ -8,8 +8,7 @@ inherit pkgconfig
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
S = "${UNPACKDIR}"
|
||||
|
||||
do_configure[depends] += "virtual/kernel:do_shared_workdir openssl-native:do_populate_sysroot"
|
||||
do_compile[depends] += "virtual/kernel:do_compile_kernelmodules"
|
||||
|
||||
@@ -4,8 +4,7 @@ LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://modutils.sh;beginline=3;endline=3;md5=b2dccaa94b3629a08bfb4f983cad6f89"
|
||||
SRC_URI = "file://modutils.sh"
|
||||
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
S = "${UNPACKDIR}"
|
||||
|
||||
INITSCRIPT_NAME = "modutils.sh"
|
||||
INITSCRIPT_PARAMS = "start 06 S ."
|
||||
|
||||
Reference in New Issue
Block a user