mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 18:49:33 +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
@@ -18,8 +18,7 @@ SRC_URI = "file://${COREBASE}/scripts/runqemu \
|
||||
file://${COREBASE}/scripts/runqemu-export-rootfs \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
S = "${UNPACKDIR}"
|
||||
|
||||
inherit nativesdk
|
||||
|
||||
|
||||
@@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://${S}/qemu-oe-bridge-helper.c;endline=4;md5=ae00a3bab8
|
||||
|
||||
SRC_URI = "file://qemu-oe-bridge-helper.c"
|
||||
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
S = "${UNPACKDIR}"
|
||||
|
||||
inherit native
|
||||
|
||||
|
||||
@@ -2,8 +2,7 @@ SUMMARY = "QEMU wrapper script"
|
||||
HOMEPAGE = "http://qemu.org"
|
||||
LICENSE = "MIT"
|
||||
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
S = "${UNPACKDIR}"
|
||||
|
||||
DEPENDS += "qemu-native"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user