diff options
| author | Denys Dmytriyenko <denys@konsulko.com> | 2022-02-22 04:13:45 +0000 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2022-02-22 12:01:38 -0600 |
| commit | 20f3191aeb592dd889eeaf96a31526297de95306 (patch) | |
| tree | aec879b9855ff8a54df171ee808e30ac26f1c80b /meta-ti-bsp/recipes-bsp/dsptop/libulm_git.bb | |
| parent | bea4fd2c401af05b866bd6af1c4e501d31b7b420 (diff) | |
| download | meta-ti-20f3191aeb592dd889eeaf96a31526297de95306.tar.gz | |
meta-ti: create a sub-layer meta-ti-bsp from existing content
Extra sub-layers will be created next and relevant content moved across them.
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/recipes-bsp/dsptop/libulm_git.bb')
| -rw-r--r-- | meta-ti-bsp/recipes-bsp/dsptop/libulm_git.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-bsp/dsptop/libulm_git.bb b/meta-ti-bsp/recipes-bsp/dsptop/libulm_git.bb new file mode 100644 index 00000000..f3e7ec3c --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/dsptop/libulm_git.bb | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | SUMMARY = "TI Usage & Load Monitor Implementation" | ||
| 2 | LICENSE = "BSD" | ||
| 3 | LIC_FILES_CHKSUM = "file://../debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979" | ||
| 4 | |||
| 5 | inherit features_check | ||
| 6 | |||
| 7 | REQUIRED_MACHINE_FEATURES = "dsp" | ||
| 8 | |||
| 9 | DEPENDS = "ti-cgt6x-native" | ||
| 10 | PR = "${INC_PR}.0" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/git/dsptop/ulm" | ||
| 13 | |||
| 14 | DEVICE="" | ||
| 15 | DEVICE:dra7xx = "DRA7xx" | ||
| 16 | |||
| 17 | EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}" | ||
| 18 | |||
| 19 | do_compile() { | ||
| 20 | oe_runmake arm XPORT_ONLY CC="${CC}" | ||
| 21 | oe_runmake dsp C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include | ||
| 22 | } | ||
| 23 | |||
| 24 | do_install() { | ||
| 25 | install -d ${D}${includedir} | ||
| 26 | install -d ${D}${libdir} | ||
| 27 | install -d ${D}${datadir}/ti/ulm | ||
| 28 | cp -f tiulm.h ${D}${includedir} | ||
| 29 | cp -f release/libtiulm.a ${D}${libdir} | ||
| 30 | cp -f tiulm.h ${D}${datadir}/ti/ulm | ||
| 31 | cp -f release/libtiulm.ae66 ${D}${datadir}/ti/ulm | ||
| 32 | } | ||
| 33 | |||
| 34 | COMPATIBLE_MACHINE = "dra7xx" | ||
| 35 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 36 | |||
| 37 | FILES:${PN}-dev += "\ | ||
| 38 | ${datadir}/ti/ulm \ | ||
| 39 | " | ||
| 40 | |||
| 41 | include dsptop.inc | ||
| 42 | |||
| 43 | ALLOW_EMPTY:${PN} = "1" | ||
| 44 | |||
| 45 | PARALLEL_MAKE= "" | ||
