Skip to contentSkip to conversation

meta-arago/all: set S from UNPACKDIR in recipes that use only local files

PATCH New Ryan Eatmon 1 participant 5 messages Jun 25, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 meta-arago/all: 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.

---
 .../recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb     | 3 ---
 .../recipes-connectivity/bt-enable/bt-enable.bb              | 3 +--
 .../initscript-telnetd/initscript-telnetd.bb                 | 3 +--
 .../recipes-connectivity/systemd-telnetd/systemd-telnetd.bb  | 3 +--
 .../recipes-core/arago-gpl-notice/arago-gpl-notice.bb        | 3 +--
 meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb     | 3 +--
 .../recipes-devtools/opkg/opkg-bash-completion.bb            | 3 +--
 .../recipes-extended/sysrepo/nw-configurator.bb              | 5 +++--
 .../recipes-graphics/tslib/ts-calibrate-init_1.0.bb          | 5 ++---
 .../recipes-benchmark/arm-ddr-bandwidth/arm-ddr-bandwidth.bb | 5 ++---
 .../recipes-benchmark/openssl-perf/openssl-perf.bb           | 3 +--
 11 files changed, 14 insertions(+), 25 deletions(-)
meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb +0 -3
index 0753a6aa..57070459 100644
@@ -8,9 +8,6 @@ CLEANBROKEN = "1"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
-
 BOOSTRAP_IMAGE = "tisdk-bootstrap-base-image"
 
 TARGET = "bootstrap-rootfs-${MACHINE}.cpio"
meta-arago-distro/recipes-connectivity/bt-enable/bt-enable.bb +1 -2
index 0e7b446d..f0a574cf 100644
@@ -9,8 +9,7 @@ SRC_URI = " \
 
 PR = "r1"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 INITSCRIPT_NAME = "bt-enable.sh"
 INITSCRIPT_PARAMS = "defaults 99"
meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb +1 -2
index 973dc8e7..8398e7f3 100644
@@ -5,8 +5,7 @@ PR  = "r1"
 
 SRC_URI = "file://telnetd"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 INITSCRIPT_NAME = "telnetd"
 INITSCRIPT_PARAMS = "defaults 10"
meta-arago-distro/recipes-connectivity/systemd-telnetd/systemd-telnetd.bb +1 -2
index 4d84bed4..ff52213e 100644
@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://telnetd.service;beginline=1;endline=17;md5=d134d0d385
 
 SRC_URI = "file://telnetd.service"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 inherit systemd
 
meta-arago-distro/recipes-core/arago-gpl-notice/arago-gpl-notice.bb +1 -2
index 79fcd7ae..ace82fb0 100644
@@ -4,8 +4,7 @@ LIC_FILES_CHKSUM = "file://print-gplv3-packages.sh;beginline=2;endline=18;md5=d1
 
 PR = "r3"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 INITSCRIPT_NAME = "gplv3-notice"
 INITSCRIPT_PARAMS = "defaults 99"
meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb +1 -2
index 7942b52c..804641a9 100644
@@ -9,8 +9,7 @@ SRC_URI = "\
 PR = "r3"
 PV = "1.0"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install () {
     install -d ${D}/board-support/prebuilt-images
meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb +1 -2
index 51f0dd3e..f92556d1 100644
@@ -7,8 +7,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 
 SRC_URI = "file://opkg-bash-completion"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
     install -d ${D}${datadir}/bash-completion/completions
meta-arago-extras/recipes-extended/sysrepo/nw-configurator.bb +3 -2
index 5f9d53e7..9bbca2bf 100644
@@ -5,13 +5,14 @@ LIC_FILES_CHKSUM = "file://nw-configurator.c;beginline=1;endline=33;md5=3538caaf
 
 SRC_URI = "file://nw-configurator.c"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 DEPENDS = "sysrepo"
 
 inherit pkgconfig
 
+CFLAGS:remove = "-g"
+
 do_compile() {
 	${CC} ${CFLAGS} ${LDFLAGS} -I=${STAGING_INCDIR} ${S}/nw-configurator.c -o nw-configurator -lsysrepo
 }
meta-arago-extras/recipes-graphics/tslib/ts-calibrate-init_1.0.bb +2 -3
index 7b69e89b..3f3aeaad 100644
@@ -8,9 +8,6 @@ LIC_FILES_CHKSUM = "file://init;beginline=2;endline=11;md5=4b2e3b15f01cf63d2cb79
 
 PR = "r4"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
-
 INITSCRIPT_NAME = "ts-calibrate"
 
 # Start this init script early enough for other processes to be started later
@@ -23,6 +20,8 @@ inherit update-rc.d
 
 SRC_URI = "file://init"
 
+S = "${UNPACKDIR}"
+
 do_install(){
 	# Install the init script
 	# TODO: replace init script with systemd files
meta-arago-test/recipes-benchmark/arm-ddr-bandwidth/arm-ddr-bandwidth.bb +2 -3
index bf08c320..29db78c3 100644
@@ -1,7 +1,7 @@
 SUMMARY = "Benchmark for checking DDR bandwidth"
 HOMEPAGE = "https://git.ti.com/cgit/matrix-gui-v2/matrix-gui-v2-apps/tree/arm_apps/arm_ddr_bandwidth/runLmDDRBandwidth.sh"
 LICENSE = "CC-BY-SA-3.0"
-LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
 
 PV = "1.0"
 
@@ -12,8 +12,7 @@ SRC_URI = " \
 SRC_URI[runLmDDRBandwidth.sha256sum] = "67997d721b351344d8788200a15bb3640093045bc25f2b5307dd331ebd1556a3"
 SRC_URI[license.sha256sum] = "7febd1df714fa4b1e44fe0b0f73ceac7f9b9f97326695a0cc7074bd6c8d263e3"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
     install -d ${D}${datadir}/matrix-gui-2.0/apps
meta-arago-test/recipes-benchmark/openssl-perf/openssl-perf.bb +1 -2
index 1939b2cf..04a3fb79 100644
@@ -24,8 +24,7 @@ SRC_URI[openssl_gen_sha1hash.sha256sum] = "f338f8c3067ebb1c5710b16b91e8b9e38685b
 SRC_URI[openssl_start_server.sha256sum] = "e23499210f701ef831d39a8c732f34f4b06fb3ba2d069c4a95ef25ae59f3c93e"
 SRC_URI[license.sha256sum] = "7febd1df714fa4b1e44fe0b0f73ceac7f9b9f97326695a0cc7074bd6c8d263e3"
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_install() {
     install -d ${D}${bindir}
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/5 meta-arago/all: remove S in recipes that fetch from git via setting BB_GIT_DEFAULT_DESTSUFFIX

Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX is set to match S from bitbake.conf (which itself is set to match typical tarball releases).

---
 meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb     | 1 -
 .../recipes-graphics/wayland/wayland-ivi-extension_2.2.0.bb   | 2 --
 .../recipes-core/oprofile-example/oprofile-example_git.bb     | 2 --
 .../arm-compute-library/arm-compute-library_24.12.bb          | 2 --
 meta-arago-extras/recipes-devtools/armnn/armnn_24.11.bb       | 2 --
 .../recipes-devtools/cmake/extra-cmake-modules.bb             | 1 -
 meta-arago-extras/recipes-devtools/eventdump/eventdump_git.bb | 2 --
 meta-arago-extras/recipes-devtools/statcol/statcol.bb         | 2 --
 meta-arago-extras/recipes-extended/sysrepo/libnetconf2_git.bb | 2 --
 meta-arago-extras/recipes-extended/sysrepo/libredblack_git.bb | 2 --
 .../recipes-extended/sysrepo/netopeer2-server_git.bb          | 2 --
 .../recipes-extended/sysrepo/sysrepo-plugins-common_git.bb    | 2 --
 meta-arago-extras/recipes-extended/sysrepo/sysrepo_git.bb     | 2 --
 .../recipes-extended/sysrepo/tsn-yang-models_git.bb           | 2 --
 meta-arago-extras/recipes-framework/onnx/onnx_1.16.1.bb       | 2 --
 .../recipes-framework/onnxruntime/onnxruntime_1.20.1.bb       | 2 --
 .../tensorflow-lite/tensorflow-lite_2.18.0.bb                 | 2 --
 meta-arago-extras/recipes-graphics/devil/devil_1.8.0.bb       | 1 -
 .../ti-gc320-tests/ti-gc320-tests_5.0.11.p7.bb                | 2 --
 .../gst-plugins-ti/gstreamer1.0-plugins-hevc_git.bb           | 2 --
 .../gst-plugins-ti/gstreamer1.0-plugins-ti.inc                | 2 --
 .../hevc-arm-decoder/hevc-arm-decoder_git.bb                  | 2 --
 meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb   | 2 --
 .../recipes-multimedia/nnstreamer/nnstreamer_2.4.0.bb         | 2 --
 meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb   | 2 --
 meta-arago-extras/recipes-support/stb/stb_git.bb              | 2 --
 .../recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb    | 2 --
 meta-arago-test/recipes-benchmark/stream/stream_5.10.bb       | 2 --
 .../recipes-bsp/switch-config/switch-config_git.bb            | 2 --
 meta-arago-test/recipes-devtools/cpuloadgen/cpuloadgen_git.bb | 2 --
 meta-arago-test/recipes-devtools/dma-heap/dma-heap-tests.bb   | 2 --
 meta-arago-test/recipes-devtools/ltp-ddt/ltp_20250130.inc     | 2 --
 meta-arago-test/recipes-devtools/omapconf/omapconf_git.bb     | 2 --
 meta-arago-test/recipes-devtools/uvc-gadget/uvc-gadget_git.bb | 2 --
 .../recipes-kernel/hwspinlocktest/hwspinlocktest_0.1.bb       | 4 +---
 meta-arago-test/recipes-kernel/pcitest/pcitest_5.10.bb        | 2 --
 .../recipes-support/xdp-tools/xdp-tools-arago_1.5.4.bb        | 2 --
 37 files changed, 1 insertion(+), 72 deletions(-)
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb +0 -1
index a18d212e..2da3ceff 100644
@@ -10,7 +10,6 @@ LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481
 
 SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
 SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
-S = "${WORKDIR}/git"
 
 DEFAULT_PREFERENCE = "-1"
 PV = "9.0.0+git"
meta-arago-distro/recipes-graphics/wayland/wayland-ivi-extension_2.2.0.bb +0 -2
index 4626345e..d4875f0b 100644
@@ -13,8 +13,6 @@ SRC_URI = "git://github.com/GENIVI/${BPN}.git;protocol=https;branch=master \
            file://03-ivi-id-agent-update-dependencies-to-build-on-weston-8.patch \
     "
 
-S = "${WORKDIR}/git"
-
 DEPENDS = "weston virtual/libgles2 pixman wayland-native"
 
 inherit cmake
meta-arago-extras/recipes-core/oprofile-example/oprofile-example_git.bb +0 -2
index a75f3b96..8d423cb1 100644
@@ -15,8 +15,6 @@ SRCREV = "066ecdab2bf0788eec253bf27fd44f7436f0cd04"
 
 SRC_URI = "git://git.ti.com/git/apps/oprofile-example.git;protocol=https;branch=${BRANCH}"
 
-S = "${WORKDIR}/git"
-
 do_compile() {
 	install -d ${S}/Debug
 	install -d ${S}/Debug1
meta-arago-extras/recipes-devtools/arm-compute-library/arm-compute-library_24.12.bb +0 -2
index f4129a75..f36e17d6 100644
@@ -16,8 +16,6 @@ SRC_URI = " \
 "
 SRCREV = "32bcced2af7feea6969dd1d22e58d0718dc488e3"
 
-S = "${WORKDIR}/git"
-
 # Only compatible with armv7a, armv7ve, and aarch64
 COMPATIBLE_MACHINE = "(^$)"
 COMPATIBLE_MACHINE:aarch64 = "(.*)"
meta-arago-extras/recipes-devtools/armnn/armnn_24.11.bb +0 -2
index ddfbe847..af55fa4d 100644
@@ -10,8 +10,6 @@ SRC_URI += "file://0001-Fix-type-casting-for-32bit-builds.patch"
 # v24.11
 SRCREV = "3ed70c005559d409feff2c578a1a39cf8fec8804"
 
-S = "${WORKDIR}/git"
-
 # Only compatible with armv7a, armv7ve, and aarch64
 COMPATIBLE_MACHINE = "(^$)"
 COMPATIBLE_MACHINE:aarch64 = "(.*)"
meta-arago-extras/recipes-devtools/cmake/extra-cmake-modules.bb +0 -1
index c09f0d05..da5e5cc3 100644
@@ -8,7 +8,6 @@ SRCREV = "8dc36cfa882f07a60b3ebdf16d9aac57871bd382"
 SRC_URI = " \
     git://anongit.kde.org/extra-cmake-modules;protocol=git;branch=master \
 "
-S = "${WORKDIR}/git"
 
 EXTRA_OECMAKE += "-DBUILD_TESTING=off"
 
meta-arago-extras/recipes-devtools/eventdump/eventdump_git.bb +0 -2
index f8864bae..2f3b3b51 100644
@@ -10,8 +10,6 @@ SRCREV = "5db45a36a05a78ea44a4cb25312ed5ee3c2bd76d"
 SRC_URI = "git://github.com/TI-ECS/eventdump.git;protocol=https;branch=master \
 	file://0001-PATCH_Makefile_Play_nicer_with_bitbake-OpenEmbedded.patch"
 
-S = "${WORKDIR}/git"
-
 EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} DEST_DIR=${D} BIN_DIR=${bindir} CC="${CC}""
 
 do_install() {
meta-arago-extras/recipes-devtools/statcol/statcol.bb +0 -2
index 24ee3772..09937483 100644
@@ -13,8 +13,6 @@ DEPENDS = "ti-rpmsg-char websocketd"
 
 RDEPENDS:${PN} = "bash"
 
-S = "${WORKDIR}/git"
-
 EXTRA_OEMAKE += "SYSROOT=${STAGING_DIR_TARGET} CROSS_COMPILE=${TARGET_PREFIX}"
 
 do_install() {
meta-arago-extras/recipes-extended/sysrepo/libnetconf2_git.bb +0 -2
index 0d124890..67c0a543 100644
@@ -10,8 +10,6 @@ SRC_URI = "git://github.com/CESNET/libnetconf2.git;protocol=https;branch=devel"
 PV = "3.5.5+git"
 SRCREV = "4c7858c9c41f1ac04d2b15c032291e335fc0f5f5"
 
-S = "${WORKDIR}/git"
-
 DEPENDS = "libssh openssl libyang libxcrypt mbedtls curl \
     ${@bb.utils.contains('DISTRO_FEATURES','pam','libpam','',d)} \
 "
meta-arago-extras/recipes-extended/sysrepo/libredblack_git.bb +0 -2
index 80283c73..8f2aa653 100644
@@ -8,8 +8,6 @@ SRC_URI = "git://github.com/sysrepo/libredblack.git;protocol=https;branch=master
 PV = "1.0+git"
 SRCREV = "a399310d99b61eec4d3c0677573ab5dddcf9395d"
 
-S = "${WORKDIR}/git"
-
 inherit python3native autotools
 
 EXTRA_OECONF = "--without-rbgen"
meta-arago-extras/recipes-extended/sysrepo/netopeer2-server_git.bb +0 -2
index 073aed5e..e43ef9f6 100644
@@ -14,8 +14,6 @@ SRC_URI = " \
 PV = "2.2.35+git"
 SRCREV = "6d1cb61ef3ce2274a91dc9cbc51318bcd0b54697"
 
-S = "${WORKDIR}/git"
-
 DEPENDS = "libyang libnetconf2 sysrepo sysrepo-native"
 RDEPENDS:${PN} += "bash curl"
 
meta-arago-extras/recipes-extended/sysrepo/sysrepo-plugins-common_git.bb +0 -2
index f398a3e2..58c28f3c 100644
@@ -8,8 +8,6 @@ SRC_URI += "file://0001-so-version.patch"
 PV = "0.1+git"
 SRCREV = "20885de0d3bb95a05610fdb3a0f83d8f7c370fad"
 
-S = "${WORKDIR}/git"
-
 DEPENDS = "libyang sysrepo"
 
 inherit cmake pkgconfig
meta-arago-extras/recipes-extended/sysrepo/sysrepo_git.bb +0 -2
index 2dbfa55f..b1eccd32 100644
@@ -12,8 +12,6 @@ SRC_URI = " \
 PV = "3.3.10+git"
 SRCREV = "ef93a1253cc97f13671759f6e7790cbf729a5ae9"
 
-S = "${WORKDIR}/git"
-
 DEPENDS = "libyang protobuf protobuf-c protobuf-c-native libredblack libev libnetconf2"
 
 FILES:${PN} += "${datadir}/yang/* ${libdir}/sysrepo-plugind/* ${bindir}/*"
meta-arago-extras/recipes-extended/sysrepo/tsn-yang-models_git.bb +0 -2
index 8024a6ab..03052de2 100644
@@ -7,8 +7,6 @@ SRC_URI = "git://github.com/YangModels/yang.git;protocol=https;branch=main"
 PV = "1.0+git"
 SRCREV = "d3f6ca02ec9ce7c96b55066d209d08adbe851897"
 
-S = "${WORKDIR}/git"
-
 FILES:${PN} += "${datadir}/yang/*"
 
 do_install:append () {
meta-arago-extras/recipes-framework/onnx/onnx_1.16.1.bb +0 -2
index 84dd17c9..3cfb4097 100644
@@ -11,8 +11,6 @@ SRC_URI += "\
 "
 SRCREV = "595228d99e3977ac27cb79d5963adda262af99ad"
 
-S = "${WORKDIR}/git"
-
 DEPENDS += "\
 	abseil-cpp \
 	protobuf \
meta-arago-extras/recipes-framework/onnxruntime/onnxruntime_1.20.1.bb +0 -2
index bee649cb..a5026484 100644
@@ -30,8 +30,6 @@ SRCREV_safeint = "4cafc9196c4da9c817992b20f5253ef967685bf8"
 SRCREV_eigen = "e7248b26a1ed53fa030c5c459f7ea095dfd276ac"
 SRCREV_nsync = "13de152c2a1cd73ff4df97bd2c406b6d15d34af3"
 
-S = "${WORKDIR}/git"
-
 # Only compatible with armv7a, armv7ve, and aarch64
 COMPATIBLE_MACHINE = "(^$)"
 COMPATIBLE_MACHINE:aarch64 = "(.*)"
meta-arago-extras/recipes-framework/tensorflow-lite/tensorflow-lite_2.18.0.bb +0 -2
index 78b971a5..c76939ac 100644
@@ -58,8 +58,6 @@ SRCREV_kleidiai = "cddf991af5de49fd34949fa39690e4e906e04074"
 SRCREV_psimd = "072586a71b55b7f8c584153d223e95687148a900"
 SRCREV_protobuf = "4a2aef570deb2bfb8927426558701e8bfc26f2a4"
 
-S = "${WORKDIR}/git"
-
 inherit setuptools3 cmake
 
 DEPENDS = " \
meta-arago-extras/recipes-graphics/devil/devil_1.8.0.bb +0 -1
index b07ff724..684ca3a4 100644
@@ -12,7 +12,6 @@ SRC_URI = "git://github.com/dentonw/devil.git;protocol=https;branch=master \
 SRCREV = "e34284a7e07763769f671a74b4fec718174ad862"
 
 PR = "r1"
-S = "${WORKDIR}/git"
 
 # Build only DevIL
 OECMAKE_SOURCEPATH = "${S}/DevIL"
meta-arago-extras/recipes-graphics/ti-gc320-tests/ti-gc320-tests_5.0.11.p7.bb +0 -2
index f3639a8c..c2076099 100644
@@ -15,8 +15,6 @@ SRC_URI = "git://git.ti.com/git/graphics/ti-gc320-test.git;protocol=https;branch
 SRCREV = "3c334f2004c718c9bb4321213c362e65c491efe6"
 PR = "r2"
 
-S = "${WORKDIR}/git"
-
 EXTRA_OEMAKE += "AQROOT=${S}/tests/src -f makefile.linux TOOLCHAIN_PATH=${TOOLCHAIN_PATH} CROSS_COMPILE=${TARGET_PREFIX} ARCH_TYPE=${TARGET_ARCH} CPU_TYPE=cortex-a15 VIVANTE_SDK_INC=${S}/sdk/include VIVANTE_SDK_LIB=${STAGING_DIR_TARGET}/usr/lib DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} LIBDIR=${libdir} SDK_DIR=${S}/build/tests/ EGL_API_FB=1"
 
 do_install() {
meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc_git.bb +0 -2
index d17cb4f2..7021e144 100644
@@ -11,8 +11,6 @@ SRC_URI = "git://git.ti.com/git/processor-sdk/gst-plugin-hevc.git;protocol=https
 "
 SRCREV = "e4ea007d0ddeb95ae01742293454ef3c87a6e84c"
 
-S = "${WORKDIR}/git"
-
 DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base hevc-arm-decoder gettext-native"
 
 inherit autotools-brokensep pkgconfig gettext
meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-ti.inc +0 -2
index d29fb87e..7c6965a6 100644
@@ -7,8 +7,6 @@ inherit autotools-brokensep pkgconfig gettext
 
 INC_PR = "r2"
 
-S = "${WORKDIR}/git"
-
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 do_configure() {
meta-arago-extras/recipes-multimedia/hevc-arm-decoder/hevc-arm-decoder_git.bb +0 -2
index 6420f693..995dd6c8 100644
@@ -16,8 +16,6 @@ SRCREV = "4004c553e672538d0c3b5fa2ea0490ec095d0060"
 
 PV = "01.00.00.01"
 
-S = "${WORKDIR}/git"
-
 do_configure() {
     sed "s/-lpthread/-pthread/g" -i ${S}/Client/Build/ARM/makefile
 }
meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb +0 -2
index 505aaa4c..c3af5244 100644
@@ -13,8 +13,6 @@ SRCREV_FORMAT = "default"
 SRCREV_nnshark = "bcee91b23a98c981b87051fe1b2ad545991c4aa2"
 SRCREV_common = "b64f03f6090245624608beb5d2fff335e23a01c0"
 
-S = "${WORKDIR}/git"
-
 DEPENDS = "\
     gtk-doc-native \
     gstreamer1.0 \
meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.4.0.bb +0 -2
index 6e142f4e..63995d83 100644
@@ -7,8 +7,6 @@ SRC_URI = "git://github.com/nnstreamer/nnstreamer.git;branch=main;protocol=https
 PV = "2.4.0+git"
 SRCREV = "7c57c288250578cad598f065b6fda6c0ff720cf9"
 
-S = "${WORKDIR}/git"
-
 # Only compatible with armv7a, armv7ve, and aarch64
 COMPATIBLE_MACHINE = "(^$)"
 COMPATIBLE_MACHINE:aarch64 = "(.*)"
meta-arago-extras/recipes-support/cclink/ccief-basic_git.bb +0 -2
index a39f8df8..464b6aeb 100644
@@ -16,8 +16,6 @@ SRC_URI = "${CCIEF-BASIC_GIT_URI};protocol=${CCIEF-BASIC_GIT_PROTOCOL};branch=${
 
 SRCREV = "${CCIEF-BASIC_SRCREV}"
 
-S = "${WORKDIR}/git"
-
 TARGET_CC_ARCH += "${LDFLAGS}"
 
 EXTRA_OEMAKE = "CC="${CC} -fpermissive""
meta-arago-extras/recipes-support/stb/stb_git.bb +0 -2
index 7b0b6452..01443f7a 100644
@@ -11,8 +11,6 @@ SRC_URI = " \
     git://github.com/nothings/stb.git;protocol=https;branch=${BRANCH} \
 "
 
-S = "${WORKDIR}/git"
-
 do_install() {
     install -d ${D}${includedir}
     for hdr in ${S}/*.h
meta-arago-test/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb +0 -2
index 208f65dd..8cdd1a6f 100644
@@ -11,8 +11,6 @@ SRCREV = "fefaf9bdd6f36ab0cebaab8dbf34e5beb50f471c"
 
 SRC_URI = "git://git.ti.com/git/apps/arm_benchmarks.git;protocol=https;branch=${BRANCH}"
 
-S = "${WORKDIR}/git"
-
 do_compile() {
 	export CROSS_COMPILE=${TARGET_PREFIX}
 	export CFLAGS='${TARGET_CC_ARCH} -std=gnu11'
meta-arago-test/recipes-benchmark/stream/stream_5.10.bb +0 -2
index 76346038..484be34d 100644
@@ -11,8 +11,6 @@ SRCREV = "b66f2bab5d6d0b35732ef8406ae03873725a3306"
 
 SRC_URI = "git://git.ti.com/git/arago-project-org/stream.git;protocol=https;branch=${BRANCH}"
 
-S = "${WORKDIR}/git"
-
 PACKAGES =+ "${PN}-openmp"
 
 do_compile() {
meta-arago-test/recipes-bsp/switch-config/switch-config_git.bb +0 -2
index df6a96d3..90834edb 100644
@@ -15,8 +15,6 @@ SRC_URI = "git://git.ti.com/git/switch-config/switch-config.git;protocol=https;b
 
 SRC_URI += "file://0001-Use-proper-definition-of-boolean-type.patch"
 
-S = "${WORKDIR}/git"
-
 EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}""
 
 do_configure() {
meta-arago-test/recipes-devtools/cpuloadgen/cpuloadgen_git.bb +0 -2
index bd5e04f3..6f46e9fb 100644
@@ -12,8 +12,6 @@ SRCREV ?= "dd2052b581ae7c2e0e06344887885fd6cd66eebb"
 
 SRC_URI = "git://github.com/ptitiano/cpuloadgen.git;protocol=https;branch=${BRANCH}"
 
-S = "${WORKDIR}/git"
-
 EXTRA_OEMAKE = "DESTDIR=${D}${bindir} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" CFLAGS="${CFLAGS}""
 CFLAGS += "-fpermissive -std=gnu11"
 
meta-arago-test/recipes-devtools/dma-heap/dma-heap-tests.bb +0 -2
index 1a230e8e..69f95391 100644
@@ -11,6 +11,4 @@ SRCREV = "334fc8ec8056badc9c6667e6f1328705cb973ab4"
 
 DEPENDS = "googletest"
 
-S = "${WORKDIR}/git"
-
 inherit cmake pkgconfig
meta-arago-test/recipes-devtools/ltp-ddt/ltp_20250130.inc +0 -2
index 1a353a19..5e0163e0 100644
@@ -30,8 +30,6 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=ht
            file://0001-Remove-OOM-tests-from-runtest-mm.patch \
            "
 
-S = "${WORKDIR}/git"
-
 inherit autotools-brokensep pkgconfig
 
 # Version 20220527 added KVM test infrastructure which currently fails to build with lld due to
meta-arago-test/recipes-devtools/omapconf/omapconf_git.bb +0 -2
index dad8ece0..edba8e12 100644
@@ -15,8 +15,6 @@ SRC_URI = "git://github.com/omapconf/omapconf.git;protocol=https;branch=${BRANCH
 
 SRC_URI += "file://0001-Use-proper-definition-of-boolean-type.patch"
 
-S = "${WORKDIR}/git"
-
 do_compile () {
     oe_runmake CC="${CC}" all
 }
meta-arago-test/recipes-devtools/uvc-gadget/uvc-gadget_git.bb +0 -2
index 8c51a9e9..572576a7 100644
@@ -7,8 +7,6 @@ SRC_URI = "git://git.ideasonboard.org/uvc-gadget.git;branch=master"
 PV = "1.1+git"
 SRCREV = "aa82df887ab995473cd83c89777cdf4bc4685dd0"
 
-S = "${WORKDIR}/git"
-
 EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" KERNEL_INCLUDE=""'
 
 do_compile () {
meta-arago-test/recipes-kernel/hwspinlocktest/hwspinlocktest_0.1.bb +1 -3
index 104c2d15..454f0131 100644
@@ -1,7 +1,7 @@
 SUMMARY = "Build hwspinlock test as an external Linux kernel module"
 DESCRIPTION = "${SUMMARY}"
 LICENSE = "GPL-2.0-only | BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=bfa02c83df161e37647ee23a2c7eacd4"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bfa02c83df161e37647ee23a2c7eacd4"
 
 inherit module
 
@@ -14,8 +14,6 @@ SRC_URI = "\
 
 SRCREV = "20f15e79a3a0197e06328c252d23aec225de21ed"
 
-S = "${WORKDIR}/git"
-
 # The inherit of module.bbclass will automatically name module packages with
 # "kernel-module-" prefix as required by the oe-core build environment.
 
meta-arago-test/recipes-kernel/pcitest/pcitest_5.10.bb +0 -2
index 8f2d27ca..9ab0dbed 100644
@@ -6,8 +6,6 @@ BRANCH = "ti-linux-5.10.y"
 SRCREV = "73aa709ca10103b61fba3a07471dbb4dcb56db45"
 SRC_URI = "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git;protocol=https;branch=${BRANCH}"
 
-S = "${WORKDIR}/git"
-
 do_compile () {
 	cd ${S}/tools/pci
 	${CC} ${CFLAGS} ${LDFLAGS} -o pcitest pcitest.c
meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago_1.5.4.bb +0 -2
index d2e07bea..12b42c90 100644
@@ -19,8 +19,6 @@ SRC_URI = "git://github.com/xdp-project/xdp-tools.git;protocol=https;branch=main
 
 SRCREV = "e78d8d23bb80f221dd6b6970ff5a44aaf4717114"
 
-S = "${WORKDIR}/git"
-
 inherit pkgconfig
 
 EXTRA_OEMAKE += " PREFIX=${D}${prefix} LIBDIR=${D}${libdir} BUILD_STATIC_ONLY=1 PRODUCTION=1 V=1"
Signature · 1 line
2.17.1
#2 lore raw

PATCH 3/5 meta-arago/all: set S to be in UNPACKDIR in recipes that explicitly set S

In reply to Ryan Eatmon
---
 meta-arago-extras/recipes-support/loki/libloki_0.1.7.bb         | 2 +-
 meta-arago-test/recipes-devtools/input-utils/input-utils_1.0.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-support/loki/libloki_0.1.7.bb +1 -1
index 7eda512b..cdcb9f48 100644
@@ -13,7 +13,7 @@ SRC_URI = "http://libloki.sourcearchive.com/downloads/${PV}-3/${BPN}_${PV}.orig.
 SRC_URI[md5sum] = "af532c24a7f2e12d0829be8201934d92"
 SRC_URI[sha256sum] = "0c2094ce916b106731c8be61c32f538a22e1c0f8398bd5d6295b13d08e0c41a3"
 
-S = "${WORKDIR}/${BPN}-${PV}.orig"
+S = "${UNPACKDIR}/${BPN}-${PV}.orig"
 
 do_configure () {
     sed -i -e 's|^prefix.*$|prefix := ${D}${prefix}|g' ${S}/Makefile.common
meta-arago-test/recipes-devtools/input-utils/input-utils_1.0.bb +1 -1
index 54c6b0fc..11062713 100644
@@ -14,7 +14,7 @@ SRC_URI:append:arm = " file://0001-autoconf-fix-for-cross-compilation-for-ARM.pa
 SRC_URI[md5sum] = "3e58772e8647093b1de2f2c90bfb9ee8"
 SRC_URI[sha256sum] = "ab6f550f01bb5fcede492ab88711d82bacee4229cf2f5dc55a349b3bff4e3b13"
 
-S = "${WORKDIR}/input-1.0"
+S = "${UNPACKDIR}/input-1.0"
 
 do_compile () {
     oe_runmake
Signature · 1 line
2.17.1
#3 lore raw

PATCH 4/5 meta-argo/all: Remove S where not needed

In reply to Ryan Eatmon

The default setting for S works fine, there is no nead to change the value.

---
 meta-arago-test/recipes-benchmark/iperf/iperf_2.0.5.bb          | 2 --
 meta-arago-test/recipes-connectivity/openntpd/openntpd_6.8p1.bb | 1 -
 2 files changed, 3 deletions(-)
meta-arago-test/recipes-benchmark/iperf/iperf_2.0.5.bb +0 -2
index 5642dbd2..f073894f 100644
@@ -15,8 +15,6 @@ SRC_URI = " ${SOURCEFORGE_MIRROR}/iperf/${BP}.tar.gz \
 SRC_URI[md5sum] = "44b5536b67719f4250faed632a3cd016"
 SRC_URI[sha256sum] = "636b4eff0431cea80667ea85a67ce4c68698760a9837e1e9d13096d20362265b"
 
-S = "${WORKDIR}/${BP}"
-
 inherit autotools pkgconfig
 
 EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}"
meta-arago-test/recipes-connectivity/openntpd/openntpd_6.8p1.bb +0 -1
index 842332df..6a3c64d1 100644
@@ -11,7 +11,6 @@ SRC_URI = "https://cdn.openbsd.org/pub/OpenBSD/OpenNTPD/${P}.tar.gz"
 SRC_URI[md5sum] = "7c68ce2627b2ea13f2b95db1ef4fcfc5"
 SRC_URI[sha256sum] = "8582db838a399153d4a17f2a76518b638cc3020f58028575bf54127518f55a46"
 
-S = "${WORKDIR}/openntpd-${PV}"
 inherit autotools
 
 LDFLAGS += "-lrt"
Signature · 1 line
2.17.1
#4 lore raw

PATCH 5/5 hostap-daemon-wl18xx: Remove unused recipe

In reply to Ryan Eatmon

This recipe is not included in any packagegroup, remove it.

---
 .../hostap/hostap-daemon-wl18xx.bb            |   25 -
 ...nge-conf-file-for-better-oob-startup.patch | 1092 -----------------
 .../hostap/hostap-daemon/defconfig            |  190 ---
 .../hostap/hostap-daemon/init                 |   37 -
 .../recipes-connectivity/hostap/hostap.inc    |   54 -
 5 files changed, 1398 deletions(-)
 delete mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx.bb
 delete mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change-conf-file-for-better-oob-startup.patch
 delete mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon/defconfig
 delete mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon/init
 delete mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap.inc
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx.bb deleted +0 -25
deleted file mode 100644
index bf4cbc50..00000000
@@ -1,25 +0,0 @@
-SUMMARY = "TI specfic version of the hostap-daemon recipe."
-DESCRIPTION = "This is a TI specific version of the hostap-daemon recipe \
-for use with the wl18xx wlan and bluetooth module."
-
-require hostap.inc
-
-LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://../COPYING;md5=292eece3f2ebbaa25608eed8464018a3"
-
-PR:append = "e"
-
-FILESEXTRAPATHS:append := ":${THISDIR}/hostap-daemon"
-
-# Add TI to the end to make it clear that this is a TI customized version
-# of hostap
-PV = "R8.7_SP3-devel-ti+git"
-
-# Tag: R8.7_SP3
-SRCREV = "ee8fbdb840d95e048f58fb62bf3b5472041b5417"
-BRANCH = "upstream_25_rebase"
-
-PROVIDES += "hostap-daemon"
-RPROVIDES:${PN} += "hostap-daemon"
-RREPLACES:${PN} += "hostap-daemon"
-RCONFLICTS:${PN} += "hostap-daemon"
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change-conf-file-for-better-oob-startup.patch deleted +0 -1092

1,092 lines not on this page · raw message

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon/defconfig deleted +0 -190

190 lines not on this page · raw message

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon/init deleted +0 -37
deleted file mode 100644
index 79f74b68..00000000
@@ -1,37 +0,0 @@
-#!/bin/sh
-DAEMON=/usr/sbin/hostapd
-NAME=hostapd
-DESC="HOSTAP Daemon"
-ARGS="/etc/hostapd.conf -B"
-
-test -f $DAEMON || exit 0
-
-set -e
-
-case "$1" in
-    start)
-	echo -n "Starting $DESC: "
-	start-stop-daemon -S -x $DAEMON -- $ARGS
-	echo "$NAME."
-	;;
-    stop)
-	echo -n "Stopping $DESC: "
-	start-stop-daemon -K -x $DAEMON
-	echo "$NAME."
-	;;
-    restart)
-	$0 stop
-	$0 start
-	;;
-    reload)
-	echo -n "Reloading $DESC: "
-	killall -HUP $(basename ${DAEMON})
-	echo "$NAME."
-	;;
-    *)
-	echo "Usage: $0 {start|stop|restart|reload}"
-	exit 1
-	;;
-esac
-
-exit 0
meta-arago-extras/recipes-connectivity/hostap/hostap.inc deleted +0 -54

54 lines not on this page · raw message

Signature · 1 line
2.17.1