diff options
| author | Andrew Davis <afd@ti.com> | 2025-10-02 08:54:51 -0500 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2025-10-12 16:07:29 -0500 |
| commit | e1fd715c8486fdf7453b606476c7d18eae901b80 (patch) | |
| tree | 3e5492d2599bdc5fa33018bb2dfc40fcd7c7ddaf | |
| parent | 78ecd5e0bb8c9d50b7ca8b892f3e673b83e8c437 (diff) | |
| download | meta-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.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 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 | ||
| 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 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 | ||
| 9 | S = "${WORKDIR}/git/dsptop" | 9 | S = "${WORKDIR}/git/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 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 | ||
| 12 | S = "${WORKDIR}/git/dsptop/ulm" | 12 | S = "${WORKDIR}/git/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 | " |
