summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-bsp/dsptop/libulm_git.bb
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2022-02-22 04:13:45 +0000
committerRyan Eatmon <reatmon@ti.com>2022-02-22 12:01:38 -0600
commit20f3191aeb592dd889eeaf96a31526297de95306 (patch)
treeaec879b9855ff8a54df171ee808e30ac26f1c80b /meta-ti-bsp/recipes-bsp/dsptop/libulm_git.bb
parentbea4fd2c401af05b866bd6af1c4e501d31b7b420 (diff)
downloadmeta-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.bb45
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 @@
1SUMMARY = "TI Usage & Load Monitor Implementation"
2LICENSE = "BSD"
3LIC_FILES_CHKSUM = "file://../debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979"
4
5inherit features_check
6
7REQUIRED_MACHINE_FEATURES = "dsp"
8
9DEPENDS = "ti-cgt6x-native"
10PR = "${INC_PR}.0"
11
12S = "${WORKDIR}/git/dsptop/ulm"
13
14DEVICE=""
15DEVICE:dra7xx = "DRA7xx"
16
17EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}"
18
19do_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
24do_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
34COMPATIBLE_MACHINE = "dra7xx"
35PACKAGE_ARCH = "${MACHINE_ARCH}"
36
37FILES:${PN}-dev += "\
38 ${datadir}/ti/ulm \
39"
40
41include dsptop.inc
42
43ALLOW_EMPTY:${PN} = "1"
44
45PARALLEL_MAKE= ""