diff options
| author | Jacob Stiffler <j-stiffler@ti.com> | 2015-11-04 01:47:20 +0000 |
|---|---|---|
| committer | Denys Dmytriyenko <denys@ti.com> | 2015-11-04 09:59:24 -0500 |
| commit | c4ef4c75a648e44fc0dc447117206a632fa6a7c4 (patch) | |
| tree | e72cac1936c0011e435ce174d81df838eaaa856e | |
| parent | edb9c109382584c965598b0672d125f58899c490 (diff) | |
| download | meta-ti-c4ef4c75a648e44fc0dc447117206a632fa6a7c4.tar.gz | |
nwal-lld: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
| -rw-r--r-- | recipes-bsp/nwal-lld/nwal-lld-test_git.bb | 2 | ||||
| -rw-r--r-- | recipes-bsp/nwal-lld/nwal-lld.inc | 13 | ||||
| -rw-r--r-- | recipes-bsp/nwal-lld/nwal-lld_git.bb | 2 |
3 files changed, 14 insertions, 3 deletions
diff --git a/recipes-bsp/nwal-lld/nwal-lld-test_git.bb b/recipes-bsp/nwal-lld/nwal-lld-test_git.bb index 3813df97..79528a0a 100644 --- a/recipes-bsp/nwal-lld/nwal-lld-test_git.bb +++ b/recipes-bsp/nwal-lld/nwal-lld-test_git.bb | |||
| @@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip rm-lld qmss-lld hplib pa-lld sa-lld pktlib nwal-lld" | |||
| 4 | 4 | ||
| 5 | include nwal-lld.inc | 5 | include nwal-lld.inc |
| 6 | 6 | ||
| 7 | PR = "${INC_PR}.0" | ||
| 8 | |||
| 7 | EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" | 9 | EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" |
| 8 | 10 | ||
| 9 | do_compile () { | 11 | do_compile () { |
diff --git a/recipes-bsp/nwal-lld/nwal-lld.inc b/recipes-bsp/nwal-lld/nwal-lld.inc index 247bfc03..c4ccdbd6 100644 --- a/recipes-bsp/nwal-lld/nwal-lld.inc +++ b/recipes-bsp/nwal-lld/nwal-lld.inc | |||
| @@ -3,12 +3,19 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fb | |||
| 3 | 3 | ||
| 4 | COMPATIBLE_MACHINE = "keystone" | 4 | COMPATIBLE_MACHINE = "keystone" |
| 5 | 5 | ||
| 6 | BRANCH = "master" | 6 | NWAL_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/nwal-lld.git" |
| 7 | SRC_URI = "git://git.ti.com/keystone-rtos/nwal-lld.git;protocol=git;branch=${BRANCH}" | 7 | NWAL_LLD_GIT_PROTOCOL = "git" |
| 8 | NWAL_LLD_GIT_BRANCH = "master" | ||
| 8 | 9 | ||
| 9 | # Below commit ID corresponds to "DEV.NWAL.02.01.00.08" | 10 | # Below commit ID corresponds to "DEV.NWAL.02.01.00.08" |
| 10 | SRCREV = "e6df99e59a848c7afffe90fc9710b7dcb8067c31" | 11 | NWAL_LLD_SRCREV = "e6df99e59a848c7afffe90fc9710b7dcb8067c31" |
| 12 | |||
| 13 | BRANCH = "${NWAL_LLD_GIT_BRANCH}" | ||
| 14 | SRC_URI = "${NWAL_LLD_GIT_URI};protocol=${NWAL_LLD_GIT_PROTOCOL};branch=${BRANCH}" | ||
| 15 | SRCREV = "${NWAL_LLD_SRCREV}" | ||
| 16 | |||
| 11 | PV = "02.01.00.08" | 17 | PV = "02.01.00.08" |
| 18 | INC_PR = "r1" | ||
| 12 | 19 | ||
| 13 | BASEDIR = "${WORKDIR}/git" | 20 | BASEDIR = "${WORKDIR}/git" |
| 14 | S = "${BASEDIR}/ti/drv/nwal" | 21 | S = "${BASEDIR}/ti/drv/nwal" |
diff --git a/recipes-bsp/nwal-lld/nwal-lld_git.bb b/recipes-bsp/nwal-lld/nwal-lld_git.bb index da097300..a9690cab 100644 --- a/recipes-bsp/nwal-lld/nwal-lld_git.bb +++ b/recipes-bsp/nwal-lld/nwal-lld_git.bb | |||
| @@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip rm-lld qmss-lld hplib pa-lld sa-lld pktlib" | |||
| 4 | 4 | ||
| 5 | include nwal-lld.inc | 5 | include nwal-lld.inc |
| 6 | 6 | ||
| 7 | PR = "${INC_PR}.0" | ||
| 8 | |||
| 7 | EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" | 9 | EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" |
| 8 | 10 | ||
| 9 | do_compile () { | 11 | do_compile () { |
