summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2025-10-02 08:54:51 -0500
committerRyan Eatmon <reatmon@ti.com>2025-10-12 16:07:29 -0500
commite1fd715c8486fdf7453b606476c7d18eae901b80 (patch)
tree3e5492d2599bdc5fa33018bb2dfc40fcd7c7ddaf
parent78ecd5e0bb8c9d50b7ca8b892f3e673b83e8c437 (diff)
downloadmeta-ti-e1fd715c8486fdf7453b606476c7d18eae901b80.tar.gz
meta-ti-extras: dsptop: Simplify for DRA7xx only build
This recipe is already only compatible with the DRA7xx machine, so no need to set PLATFORM based on the only possibility. This then allows us to directly set the compile flags for the same. And now that the package does not change based on the machine, remove the PACKAGE_ARCH line. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r--meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb8
-rw-r--r--meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb8
-rw-r--r--meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb8
3 files changed, 6 insertions, 18 deletions
diff --git a/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb b/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb
index b1fa3ab8..c82f6071 100644
--- a/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb
+++ b/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb
@@ -8,13 +8,9 @@ S = "${WORKDIR}/git/debugss_module/debugss-mod"
8 8
9inherit module 9inherit module
10 10
11PLATFORM = ""
12PLATFORM:dra7xx = "DRA7xx_PLATFORM"
13
14EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}' KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
15
16COMPATIBLE_MACHINE = "dra7xx" 11COMPATIBLE_MACHINE = "dra7xx"
17PACKAGE_ARCH = "${MACHINE_ARCH}" 12
13EXTRA_OEMAKE = "PLATFORM=DRA7xx_PLATFORM KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
18 14
19include dsptop.inc 15include dsptop.inc
20 16
diff --git a/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb b/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb
index c725202a..22111cf7 100644
--- a/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb
+++ b/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb
@@ -8,19 +8,15 @@ PR = "${INC_PR}.2"
8 8
9S = "${WORKDIR}/git/dsptop" 9S = "${WORKDIR}/git/dsptop"
10 10
11DEVICE = "" 11COMPATIBLE_MACHINE = "dra7xx"
12DEVICE:dra7xx = "DRA7xx"
13 12
14EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"" 13EXTRA_OEMAKE = "release DEVICE=DRA7xx CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}""
15 14
16do_install() { 15do_install() {
17 oe_runmake install DESTDIR=${D} 16 oe_runmake install DESTDIR=${D}
18 chown -R root:root ${D} 17 chown -R root:root ${D}
19} 18}
20 19
21COMPATIBLE_MACHINE = "dra7xx"
22PACKAGE_ARCH = "${MACHINE_ARCH}"
23
24RDEPENDS:${PN} = "debugss-module-drv bash" 20RDEPENDS:${PN} = "debugss-module-drv bash"
25 21
26include dsptop.inc 22include dsptop.inc
diff --git a/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb b/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb
index a4670b6e..3365ed07 100644
--- a/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb
+++ b/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb
@@ -11,10 +11,9 @@ PR = "${INC_PR}.0"
11 11
12S = "${WORKDIR}/git/dsptop/ulm" 12S = "${WORKDIR}/git/dsptop/ulm"
13 13
14DEVICE = "" 14COMPATIBLE_MACHINE = "dra7xx"
15DEVICE:dra7xx = "DRA7xx"
16 15
17EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}" 16EXTRA_OEMAKE = "release DEVICE=DRA7xx CROSS_COMPILE=${TARGET_PREFIX}"
18 17
19do_compile() { 18do_compile() {
20 oe_runmake arm XPORT_ONLY CC="${CC}" 19 oe_runmake arm XPORT_ONLY CC="${CC}"
@@ -31,9 +30,6 @@ do_install() {
31 cp -f release/libtiulm.ae66 ${D}${datadir}/ti/ulm 30 cp -f release/libtiulm.ae66 ${D}${datadir}/ti/ulm
32} 31}
33 32
34COMPATIBLE_MACHINE = "dra7xx"
35PACKAGE_ARCH = "${MACHINE_ARCH}"
36
37FILES:${PN}-dev += "\ 33FILES:${PN}-dev += "\
38 ${datadir}/ti/ulm \ 34 ${datadir}/ti/ulm \
39" 35"