summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/traceframework
diff options
context:
space:
mode:
authorJustin Sobota <jsobota@ti.com>2016-04-20 02:49:44 +0000
committerDenys Dmytriyenko <denys@ti.com>2016-04-19 18:05:15 -0400
commit4a4cfdb3b2ed20cc1bc99221f64e6f2c1398177f (patch)
tree31f2be2c81cf7461ecb6a72fd213a88eead12f7e /recipes-bsp/traceframework
parentfdda559e85865e05431015abfd963e59d2badd54 (diff)
downloadmeta-ti-4a4cfdb3b2ed20cc1bc99221f64e6f2c1398177f.tar.gz
traceframework: Clean up recipe
Signed-off-by: Justin Sobota <jsobota@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp/traceframework')
-rw-r--r--recipes-bsp/traceframework/traceframework.inc28
-rw-r--r--recipes-bsp/traceframework/traceframework_git.bb36
2 files changed, 35 insertions, 29 deletions
diff --git a/recipes-bsp/traceframework/traceframework.inc b/recipes-bsp/traceframework/traceframework.inc
new file mode 100644
index 00000000..a9a1a968
--- /dev/null
+++ b/recipes-bsp/traceframework/traceframework.inc
@@ -0,0 +1,28 @@
1LICENSE = "BSD-3-Clause"
2LIC_FILES_CHKSUM = "file://COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d"
3
4COMPATIBLE_MACHINE = "tci6614-evm|keystone"
5PACKAGE_ARCH = "${MACHINE_ARCH}"
6
7TRACEFRAMEWORK_GIT_URI = "git://git.ti.com/keystone-rtos/traceframework.git"
8TRACEFRAMEWORK_GIT_PROTOCOL = "git"
9TRACEFRAMEWORK_GIT_BRANCH = "master"
10TRACEFRAMEWORK_GIT_DESTSUFFIX = "git/ti/instrumentation/traceframework"
11
12# Below commit ID corresponds to "DEV.TFWK-01.01.01.08B"
13TRACEFRAMEWORK_SRCREV = "e7a60a71a385337425547e3cac6716998c6a3528"
14
15BRANCH = "${TRACEFRAMEWORK_GIT_BRANCH}"
16SRC_URI = "${TRACEFRAMEWORK_GIT_URI};destsuffix=${TRACEFRAMEWORK_GIT_DESTSUFFIX};protocol=${TRACEFRAMEWORK_GIT_PROTOCOL};branch=${BRANCH}"
17
18SRCREV = "${TRACEFRAMEWORK_SRCREV}"
19PV = "01.01.01.08"
20INC_PR = "r1"
21
22DEVICELIST = "k2k k2h k2e k2l"
23DEVICELIST_tci6614-evm = "c6614"
24DEVICELIST_k2hk-evm = "k2k k2h"
25DEVICELIST_k2e-evm = "k2e"
26DEVICELIST_k2l-evm = "k2l"
27
28S = "${WORKDIR}/${TRACEFRAMEWORK_GIT_DESTSUFFIX}"
diff --git a/recipes-bsp/traceframework/traceframework_git.bb b/recipes-bsp/traceframework/traceframework_git.bb
index 49a7e959..a3b0d715 100644
--- a/recipes-bsp/traceframework/traceframework_git.bb
+++ b/recipes-bsp/traceframework/traceframework_git.bb
@@ -1,39 +1,12 @@
1DESCRIPTION = "TI Trace Framework library" 1DESCRIPTION = "TI Trace Framework library"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/instrumentation/traceframework/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d"
4 2
5TRACEFRAMEWORK_GIT_URI = "git://git.ti.com/keystone-rtos/traceframework.git"
6TRACEFRAMEWORK_GIT_PROTOCOL = "git"
7TRACEFRAMEWORK_GIT_BRANCH = "master"
8TRACEFRAMEWORK_GIT_DESTSUFFIX = "git/ti/instrumentation/traceframework"
9
10# Below commit ID corresponds to DEV.TFWK-01.01.01.08B
11TRACEFRAMEWORK_SRCREV = "e7a60a71a385337425547e3cac6716998c6a3528"
12
13BRANCH="${TRACEFRAMEWORK_GIT_BRANCH}"
14SRC_URI = "${TRACEFRAMEWORK_GIT_URI};destsuffix=${TRACEFRAMEWORK_GIT_DESTSUFFIX};protocol=${TRACEFRAMEWORK_GIT_PROTOCOL};branch=${BRANCH}"
15SRCREV = "${TRACEFRAMEWORK_SRCREV}"
16
17PV = "01.01.01.08"
18PR = "r1"
19
20COMPATIBLE_MACHINE = "(tci6614-evm|keystone)"
21PACKAGE_ARCH = "${MACHINE_ARCH}"
22DEPENDS = "cuia" 3DEPENDS = "cuia"
23 4
24DEVICELIST = "k2k k2h k2e k2l" 5include traceframework.inc
25DEVICELIST_tci6614-evm = "c6614"
26DEVICELIST_k2hk-evm = "k2k k2h"
27DEVICELIST_k2e-evm = "k2e"
28DEVICELIST_k2l-evm = "k2l"
29 6
30PACKAGES =+ "${PN}-test" 7PR = "${INC_PR}.0"
31
32FILES_${PN}-test = "${bindir}/tfw*.out \
33 ${bindir}/*.txt"
34 8
35BASEDIR = "${WORKDIR}/git" 9BASEDIR = "${WORKDIR}/git"
36S = "${BASEDIR}/ti/instrumentation/traceframework"
37 10
38EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} \ 11EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} \
39 CUIA_INSTALL_DIR=${STAGING_INCDIR} CUIA_LIB_DIR=${STAGING_LIBDIR}" 12 CUIA_INSTALL_DIR=${STAGING_INCDIR} CUIA_LIB_DIR=${STAGING_LIBDIR}"
@@ -57,3 +30,8 @@ do_install() {
57 oe_runmake install DEVICE="$device" TFW_SRC_DIR=${S} TARGET_ROOT_DIR=${D} 30 oe_runmake install DEVICE="$device" TFW_SRC_DIR=${S} TARGET_ROOT_DIR=${D}
58 done 31 done
59} 32}
33
34PACKAGES =+ "${PN}-test"
35
36FILES_${PN}-test = "${bindir}/tfw*.out \
37 ${bindir}/*.txt"