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-14 15:37:09 -0500
commitfce4f6188b6d1bbdc98e84db9931fafb40c94f61 (patch)
treefd3b433a8fdf093228fd3b1bf07b5ab962a487c0
parentb3bd4813b29df64436f0409f81b19df85e03a0fe (diff)
downloadmeta-ti-fce4f6188b6d1bbdc98e84db9931fafb40c94f61.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 d8e759d9..262ffc9f 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:append = "/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 5e8c56b8..8d36e76f 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:append = "/dsptop" 9S:append = "/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 73c7831e..61d9c7f9 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:append = "/dsptop/ulm" 12S:append = "/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"