meta: fix unpack warnings from recipes with only in-tree files

There is now a check that ${S} exists after running do_unpack.
The convention for recipes with only local in-tree files is
to define S and point UNPACKDIR at the same directory.  All
such recipes are updated to use this convention.

Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
Matt Madison
2024-05-29 06:15:10 -07:00
parent cae3b11804
commit 742f465849
4 changed files with 11 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ inherit deploy nopackages
DEPENDS = "dtc-native"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
B = "${WORKDIR}/build"
do_configure() {

View File

@@ -9,6 +9,9 @@ SRC_URI = "\
file://initrd-flash.scheme.in \
"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
COMPATIBLE_MACHINE = "(tegra)"
do_install() {

View File

@@ -7,6 +7,9 @@ SRC_URI = "\
file://platform-preboot.sh \
"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
COMPATIBLE_MACHINE = "(tegra)"
PACKAGE_ARCH = "${MACHINE_ARCH}"

View File

@@ -6,6 +6,9 @@ SRC_URI = "\
file://nvidia-drm-modprobe.conf \
"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
COMPATIBLE_MACHINE = "(tegra234)"
do_install() {