diff options
author | Justin Sobota <jsobota@ti.com> | 2016-04-20 02:49:44 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2016-04-19 18:05:15 -0400 |
commit | 4a4cfdb3b2ed20cc1bc99221f64e6f2c1398177f (patch) | |
tree | 31f2be2c81cf7461ecb6a72fd213a88eead12f7e /recipes-bsp/traceframework | |
parent | fdda559e85865e05431015abfd963e59d2badd54 (diff) | |
download | meta-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.inc | 28 | ||||
-rw-r--r-- | recipes-bsp/traceframework/traceframework_git.bb | 36 |
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 @@ | |||
1 | LICENSE = "BSD-3-Clause" | ||
2 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d" | ||
3 | |||
4 | COMPATIBLE_MACHINE = "tci6614-evm|keystone" | ||
5 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
6 | |||
7 | TRACEFRAMEWORK_GIT_URI = "git://git.ti.com/keystone-rtos/traceframework.git" | ||
8 | TRACEFRAMEWORK_GIT_PROTOCOL = "git" | ||
9 | TRACEFRAMEWORK_GIT_BRANCH = "master" | ||
10 | TRACEFRAMEWORK_GIT_DESTSUFFIX = "git/ti/instrumentation/traceframework" | ||
11 | |||
12 | # Below commit ID corresponds to "DEV.TFWK-01.01.01.08B" | ||
13 | TRACEFRAMEWORK_SRCREV = "e7a60a71a385337425547e3cac6716998c6a3528" | ||
14 | |||
15 | BRANCH = "${TRACEFRAMEWORK_GIT_BRANCH}" | ||
16 | SRC_URI = "${TRACEFRAMEWORK_GIT_URI};destsuffix=${TRACEFRAMEWORK_GIT_DESTSUFFIX};protocol=${TRACEFRAMEWORK_GIT_PROTOCOL};branch=${BRANCH}" | ||
17 | |||
18 | SRCREV = "${TRACEFRAMEWORK_SRCREV}" | ||
19 | PV = "01.01.01.08" | ||
20 | INC_PR = "r1" | ||
21 | |||
22 | DEVICELIST = "k2k k2h k2e k2l" | ||
23 | DEVICELIST_tci6614-evm = "c6614" | ||
24 | DEVICELIST_k2hk-evm = "k2k k2h" | ||
25 | DEVICELIST_k2e-evm = "k2e" | ||
26 | DEVICELIST_k2l-evm = "k2l" | ||
27 | |||
28 | S = "${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 @@ | |||
1 | DESCRIPTION = "TI Trace Framework library" | 1 | DESCRIPTION = "TI Trace Framework library" |
2 | LICENSE = "BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/instrumentation/traceframework/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d" | ||
4 | 2 | ||
5 | TRACEFRAMEWORK_GIT_URI = "git://git.ti.com/keystone-rtos/traceframework.git" | ||
6 | TRACEFRAMEWORK_GIT_PROTOCOL = "git" | ||
7 | TRACEFRAMEWORK_GIT_BRANCH = "master" | ||
8 | TRACEFRAMEWORK_GIT_DESTSUFFIX = "git/ti/instrumentation/traceframework" | ||
9 | |||
10 | # Below commit ID corresponds to DEV.TFWK-01.01.01.08B | ||
11 | TRACEFRAMEWORK_SRCREV = "e7a60a71a385337425547e3cac6716998c6a3528" | ||
12 | |||
13 | BRANCH="${TRACEFRAMEWORK_GIT_BRANCH}" | ||
14 | SRC_URI = "${TRACEFRAMEWORK_GIT_URI};destsuffix=${TRACEFRAMEWORK_GIT_DESTSUFFIX};protocol=${TRACEFRAMEWORK_GIT_PROTOCOL};branch=${BRANCH}" | ||
15 | SRCREV = "${TRACEFRAMEWORK_SRCREV}" | ||
16 | |||
17 | PV = "01.01.01.08" | ||
18 | PR = "r1" | ||
19 | |||
20 | COMPATIBLE_MACHINE = "(tci6614-evm|keystone)" | ||
21 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
22 | DEPENDS = "cuia" | 3 | DEPENDS = "cuia" |
23 | 4 | ||
24 | DEVICELIST = "k2k k2h k2e k2l" | 5 | include traceframework.inc |
25 | DEVICELIST_tci6614-evm = "c6614" | ||
26 | DEVICELIST_k2hk-evm = "k2k k2h" | ||
27 | DEVICELIST_k2e-evm = "k2e" | ||
28 | DEVICELIST_k2l-evm = "k2l" | ||
29 | 6 | ||
30 | PACKAGES =+ "${PN}-test" | 7 | PR = "${INC_PR}.0" |
31 | |||
32 | FILES_${PN}-test = "${bindir}/tfw*.out \ | ||
33 | ${bindir}/*.txt" | ||
34 | 8 | ||
35 | BASEDIR = "${WORKDIR}/git" | 9 | BASEDIR = "${WORKDIR}/git" |
36 | S = "${BASEDIR}/ti/instrumentation/traceframework" | ||
37 | 10 | ||
38 | EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} \ | 11 | EXTRA_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 | |||
34 | PACKAGES =+ "${PN}-test" | ||
35 | |||
36 | FILES_${PN}-test = "${bindir}/tfw*.out \ | ||
37 | ${bindir}/*.txt" | ||