mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-11-01 21:07:59 +00:00
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:
@@ -18,6 +18,8 @@ inherit deploy nopackages
|
|||||||
|
|
||||||
DEPENDS = "dtc-native"
|
DEPENDS = "dtc-native"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/sources"
|
||||||
|
UNPACKDIR = "${S}"
|
||||||
B = "${WORKDIR}/build"
|
B = "${WORKDIR}/build"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
|||||||
@@ -9,6 +9,9 @@ SRC_URI = "\
|
|||||||
file://initrd-flash.scheme.in \
|
file://initrd-flash.scheme.in \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/sources"
|
||||||
|
UNPACKDIR = "${S}"
|
||||||
|
|
||||||
COMPATIBLE_MACHINE = "(tegra)"
|
COMPATIBLE_MACHINE = "(tegra)"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|||||||
@@ -7,6 +7,9 @@ SRC_URI = "\
|
|||||||
file://platform-preboot.sh \
|
file://platform-preboot.sh \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/sources"
|
||||||
|
UNPACKDIR = "${S}"
|
||||||
|
|
||||||
COMPATIBLE_MACHINE = "(tegra)"
|
COMPATIBLE_MACHINE = "(tegra)"
|
||||||
|
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|||||||
@@ -6,6 +6,9 @@ SRC_URI = "\
|
|||||||
file://nvidia-drm-modprobe.conf \
|
file://nvidia-drm-modprobe.conf \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/sources"
|
||||||
|
UNPACKDIR = "${S}"
|
||||||
|
|
||||||
COMPATIBLE_MACHINE = "(tegra234)"
|
COMPATIBLE_MACHINE = "(tegra234)"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|||||||
Reference in New Issue
Block a user