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.

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
This commit is contained in:
Alper Ak
2025-06-20 20:06:30 +03:00
parent 98af1d6d7e
commit f78f6ff2b7

View File

@@ -2,8 +2,7 @@ DESCRIPTION = "UWE5622 Wifi firmware"
LICENSE = "CC0-1.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=0ceb3372c9595f0a8067e55da801e4a1"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
S = "${UNPACKDIR}"
COMPATIBLE_MACHINE = "(orange-pi-zero2|orange-pi-3lts)"