diff options
author | Andrew Davis <afd@ti.com> | 2025-10-02 08:54:51 -0500 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2025-10-14 15:37:09 -0500 |
commit | fce4f6188b6d1bbdc98e84db9931fafb40c94f61 (patch) | |
tree | fd3b433a8fdf093228fd3b1bf07b5ab962a487c0 | |
parent | b3bd4813b29df64436f0409f81b19df85e03a0fe (diff) | |
download | meta-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.bb | 8 | ||||
-rw-r--r-- | meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb | 8 | ||||
-rw-r--r-- | meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb | 8 |
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 | ||
9 | inherit module | 9 | inherit module |
10 | 10 | ||
11 | PLATFORM = "" | ||
12 | PLATFORM:dra7xx = "DRA7xx_PLATFORM" | ||
13 | |||
14 | EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}' KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}" | ||
15 | |||
16 | COMPATIBLE_MACHINE = "dra7xx" | 11 | COMPATIBLE_MACHINE = "dra7xx" |
17 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 12 | |
13 | EXTRA_OEMAKE = "PLATFORM=DRA7xx_PLATFORM KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}" | ||
18 | 14 | ||
19 | include dsptop.inc | 15 | include 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 | ||
9 | S:append = "/dsptop" | 9 | S:append = "/dsptop" |
10 | 10 | ||
11 | DEVICE = "" | 11 | COMPATIBLE_MACHINE = "dra7xx" |
12 | DEVICE:dra7xx = "DRA7xx" | ||
13 | 12 | ||
14 | EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"" | 13 | EXTRA_OEMAKE = "release DEVICE=DRA7xx CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"" |
15 | 14 | ||
16 | do_install() { | 15 | do_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 | ||
21 | COMPATIBLE_MACHINE = "dra7xx" | ||
22 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
23 | |||
24 | RDEPENDS:${PN} = "debugss-module-drv bash" | 20 | RDEPENDS:${PN} = "debugss-module-drv bash" |
25 | 21 | ||
26 | include dsptop.inc | 22 | include 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 | ||
12 | S:append = "/dsptop/ulm" | 12 | S:append = "/dsptop/ulm" |
13 | 13 | ||
14 | DEVICE = "" | 14 | COMPATIBLE_MACHINE = "dra7xx" |
15 | DEVICE:dra7xx = "DRA7xx" | ||
16 | 15 | ||
17 | EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}" | 16 | EXTRA_OEMAKE = "release DEVICE=DRA7xx CROSS_COMPILE=${TARGET_PREFIX}" |
18 | 17 | ||
19 | do_compile() { | 18 | do_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 | ||
34 | COMPATIBLE_MACHINE = "dra7xx" | ||
35 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
36 | |||
37 | FILES:${PN}-dev += "\ | 33 | FILES:${PN}-dev += "\ |
38 | ${datadir}/ti/ulm \ | 34 | ${datadir}/ti/ulm \ |
39 | " | 35 | " |