diff options
author | Jacob Stiffler <j-stiffler@ti.com> | 2016-01-27 03:16:43 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2016-01-27 15:53:58 -0500 |
commit | 3244a400578a14de8f18a1b268ea28413b22b2d6 (patch) | |
tree | aee19f7b402f64ee7d9c1c463cb2653cdb4a821b /recipes-bsp | |
parent | e887c3f2a6166adaf420eb2c5789e468de2633da (diff) | |
download | meta-ti-3244a400578a14de8f18a1b268ea28413b22b2d6.tar.gz |
rm-lld: Seperate source info into .inc file
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/rm-lld/rm-lld.inc | 23 | ||||
-rw-r--r-- | recipes-bsp/rm-lld/rm-lld_git.bb | 24 |
2 files changed, 25 insertions, 22 deletions
diff --git a/recipes-bsp/rm-lld/rm-lld.inc b/recipes-bsp/rm-lld/rm-lld.inc new file mode 100644 index 00000000..5b3b9810 --- /dev/null +++ b/recipes-bsp/rm-lld/rm-lld.inc | |||
@@ -0,0 +1,23 @@ | |||
1 | DESCRIPTION = "TI Resource Manager Low Level Driver" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc" | ||
4 | |||
5 | RM_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/rm-lld.git" | ||
6 | RM_LLD_GIT_PROTOCOL = "git" | ||
7 | RM_LLD_GIT_BRANCH = "master" | ||
8 | RM_LLD_GIT_DESTSUFFIX = "git/ti/drv/rm" | ||
9 | |||
10 | # Below commit ID corresponds to DEV.RM_LLD.02.01.02.00 | ||
11 | RM_LLD_SRCREV = "b3d711203c6b4cf99fb2f95dc2f4728dfd1b2639" | ||
12 | |||
13 | BRANCH = "${RM_LLD_GIT_BRANCH}" | ||
14 | SRC_URI = "${RM_LLD_GIT_URI};destsuffix=${RM_LLD_GIT_DESTSUFFIX};protocol=${RM_LLD_GIT_PROTOCOL};branch=${BRANCH}" | ||
15 | SRCREV = "${RM_LLD_SRCREV}" | ||
16 | |||
17 | PV = "02.01.02.00" | ||
18 | INC_PR = "r3" | ||
19 | |||
20 | COMPATIBLE_MACHINE = "keystone" | ||
21 | |||
22 | BASEDIR = "${WORKDIR}/git" | ||
23 | S = "${BASEDIR}/ti/drv/rm" | ||
diff --git a/recipes-bsp/rm-lld/rm-lld_git.bb b/recipes-bsp/rm-lld/rm-lld_git.bb index d6cb62b0..659e6205 100644 --- a/recipes-bsp/rm-lld/rm-lld_git.bb +++ b/recipes-bsp/rm-lld/rm-lld_git.bb | |||
@@ -1,23 +1,6 @@ | |||
1 | DESCRIPTION = "TI Resource Manager Low Level Driver" | 1 | require rm-lld.inc |
2 | LICENSE = "BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc" | ||
4 | 2 | ||
5 | RM_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/rm-lld.git" | 3 | PR = "${INC_PR}.0" |
6 | RM_LLD_GIT_PROTOCOL = "git" | ||
7 | RM_LLD_GIT_BRANCH = "master" | ||
8 | RM_LLD_GIT_DESTSUFFIX = "git/ti/drv/rm" | ||
9 | |||
10 | # Below commit ID corresponds to DEV.RM_LLD.02.01.02.00 | ||
11 | RM_LLD_SRCREV = "b3d711203c6b4cf99fb2f95dc2f4728dfd1b2639" | ||
12 | |||
13 | BRANCH = "${RM_LLD_GIT_BRANCH}" | ||
14 | SRC_URI = "${RM_LLD_GIT_URI};destsuffix=${RM_LLD_GIT_DESTSUFFIX};protocol=${RM_LLD_GIT_PROTOCOL};branch=${BRANCH}" | ||
15 | SRCREV = "${RM_LLD_SRCREV}" | ||
16 | |||
17 | PV = "02.01.02.00" | ||
18 | PR = "r2" | ||
19 | |||
20 | COMPATIBLE_MACHINE = "keystone" | ||
21 | 4 | ||
22 | DEPENDS = "ti-ipc libdaemon" | 5 | DEPENDS = "ti-ipc libdaemon" |
23 | 6 | ||
@@ -30,9 +13,6 @@ FILES_${PN}-test = "${bindir}/rmDspClientTest.out \ | |||
30 | 13 | ||
31 | CHOICELIST = "yes no" | 14 | CHOICELIST = "yes no" |
32 | 15 | ||
33 | BASEDIR = "${WORKDIR}/git" | ||
34 | S = "${BASEDIR}/ti/drv/rm" | ||
35 | |||
36 | do_compile () { | 16 | do_compile () { |
37 | # Now build the lld | 17 | # Now build the lld |
38 | make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S} | 18 | make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S} |