1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

meta-ti/all: Handle S when building a subdir of the git repo

If a recipe is fetching an entire git repo and then just building a
single dir, then we need to update S to lock into the sub directory.
Easiest fix is to simply append the subdir to whatever the system wants
to set S to by default.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
Ryan Eatmon
2025-06-24 15:54:36 -05:00
parent d02032fa40
commit d3f73eaf07
12 changed files with 13 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ SRCREV = "83afddf9dbf6a8458267b4dae21ee35bfb11f3d1"
SRC_URI = "git://git.ti.com/git/graphics/ti-gc320-driver.git;protocol=https;branch=${BRANCH}" SRC_URI = "git://git.ti.com/git/graphics/ti-gc320-driver.git;protocol=https;branch=${BRANCH}"
S = "${WORKDIR}/git/src" S:append = "/src"
EXTRA_OEMAKE += "-f Kbuild AQROOT=${S} KERNEL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PATH=${TOOLCHAIN_PATH} CROSS_COMPILE=${TARGET_PREFIX} ARCH_TYPE=${TARGET_ARCH}" EXTRA_OEMAKE += "-f Kbuild AQROOT=${S} KERNEL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PATH=${TOOLCHAIN_PATH} CROSS_COMPILE=${TARGET_PREFIX} ARCH_TYPE=${TARGET_ARCH}"

View File

@@ -1,7 +1,7 @@
SUMMARY = "Userspace libraries for PowerVR Rogue GPU on TI SoCs" SUMMARY = "Userspace libraries for PowerVR Rogue GPU on TI SoCs"
HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs" HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs"
LICENSE = "TI-TFL" LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f" LIC_FILES_CHKSUM = "file://git/LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
inherit bin_package inherit bin_package
@@ -15,7 +15,7 @@ PR = "r3"
BRANCH = "linuxws/kirkstone/k6.1/${PV}" BRANCH = "linuxws/kirkstone/k6.1/${PV}"
SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}" SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}"
SRCREV = "0b9e64254269be2fa95c4f3e1dd925d6e4d58199" SRCREV = "0b9e64254269be2fa95c4f3e1dd925d6e4d58199"
S = "${WORKDIR}/git/targetfs/${TARGET_PRODUCT}/${PVR_WS}/${PVR_BUILD}" S:append = "/targetfs/${TARGET_PRODUCT}/${PVR_WS}/${PVR_BUILD}"
TARGET_PRODUCT:j721e = "j721e_linux" TARGET_PRODUCT:j721e = "j721e_linux"
TARGET_PRODUCT:j721s2 = "j721s2_linux" TARGET_PRODUCT:j721s2 = "j721s2_linux"

View File

@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3"
PV:append = "+git" PV:append = "+git"
S = "${WORKDIR}/git/debugss_module/debugss-mod" S:append = "/debugss_module/debugss-mod"
inherit module inherit module

View File

@@ -6,7 +6,7 @@ DEPENDS = "libulm ncurses"
PR = "${INC_PR}.2" PR = "${INC_PR}.2"
S = "${WORKDIR}/git/dsptop" S:append = "/dsptop"
DEVICE = "" DEVICE = ""
DEVICE:dra7xx = "DRA7xx" DEVICE:dra7xx = "DRA7xx"

View File

@@ -9,7 +9,7 @@ REQUIRED_MACHINE_FEATURES = "dsp"
DEPENDS = "ti-cgt6x-native" DEPENDS = "ti-cgt6x-native"
PR = "${INC_PR}.0" PR = "${INC_PR}.0"
S = "${WORKDIR}/git/dsptop/ulm" S:append = "/dsptop/ulm"
DEVICE = "" DEVICE = ""
DEVICE:dra7xx = "DRA7xx" DEVICE:dra7xx = "DRA7xx"

View File

@@ -9,7 +9,7 @@ PV = "1.0.0.50"
DEPENDS = "libnl" DEPENDS = "libnl"
S = "${WORKDIR}/git/cc33calibrator" S:append = "/cc33calibrator"
export CROSS_COMPILE = "${TARGET_PREFIX}" export CROSS_COMPILE = "${TARGET_PREFIX}"

View File

@@ -7,7 +7,7 @@ SRC_URI = "git://git.ti.com/git/cc33xx-wlan/cc33xx-utils.git;branch=master;proto
PV = "1.7.0.120" PV = "1.7.0.120"
S = "${WORKDIR}/git/cc33conf" S:append = "/cc33conf"
EXTRA_OEMAKE = "CC="${CC}"" EXTRA_OEMAKE = "CC="${CC}""

View File

@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://README;beginline=1;endline=21;md5=adc05a1903d3f107f85
SRCREV = "5048b59a444ac59ba7171d6e122d5a84581aebf2" SRCREV = "5048b59a444ac59ba7171d6e122d5a84581aebf2"
SRC_URI = "git://git.ti.com/git/wilink8-wlan/18xx-ti-utils.git;branch=master;protocol=https" SRC_URI = "git://git.ti.com/git/wilink8-wlan/18xx-ti-utils.git;branch=master;protocol=https"
S = "${WORKDIR}/git/wlconf" S:append = "/wlconf"
EXTRA_OEMAKE = "CC="${CC}"" EXTRA_OEMAKE = "CC="${CC}""

View File

@@ -14,7 +14,7 @@ SRC_URI:append = " \
file://0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch;striplevel=2 \ file://0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch;striplevel=2 \
" "
S = "${WORKDIR}/git/gdbc6x" S:append = "/gdbc6x"
inherit update-rc.d inherit update-rc.d
inherit gettext inherit gettext

View File

@@ -6,7 +6,7 @@ DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-sysbios ti-xdctoo
PR = "${INC_PR}.0" PR = "${INC_PR}.0"
S = "${WORKDIR}/git/gdbserver-c6x/src" S:append = "/gdbserver-c6x/src"
PLATFORM = "" PLATFORM = ""
PLATFORM:dra7xx = "DRA7xx_PLATFORM" PLATFORM:dra7xx = "DRA7xx_PLATFORM"

View File

@@ -9,7 +9,7 @@ SRC_URI:append = "\
file://0002-Support-Linux-kernels-v6.6.patch;patchdir=../.. \ file://0002-Support-Linux-kernels-v6.6.patch;patchdir=../.. \
" "
S = "${WORKDIR}/git/kernel_module/gdbproxy-mod" S:append = "/kernel_module/gdbproxy-mod"
inherit module inherit module

View File

@@ -13,7 +13,7 @@ SRCREV = "de7954abab0f0caa8a2c7b53095c30226d901a31"
DEPENDS = "ti-cgt6x-native" DEPENDS = "ti-cgt6x-native"
PR = "r0" PR = "r0"
S = "${WORKDIR}/git/aet" S:append = "/aet"
DEVICE = "" DEVICE = ""
DEVICE:dra7xx = "DRA7xx" DEVICE:dra7xx = "DRA7xx"