diff options
| author | Jacob Stiffler <j-stiffler@ti.com> | 2015-11-04 01:47:11 +0000 |
|---|---|---|
| committer | Denys Dmytriyenko <denys@ti.com> | 2015-11-04 09:56:57 -0500 |
| commit | 30bc6a176aadedd48ce66e8bf37c838418dd81dc (patch) | |
| tree | 93cb567110cc3502e12cef4aa01eaf5392796c3f /recipes-bsp/dfe-lld | |
| parent | f9410c080415bce2d6b4ecd7e32655f18650f895 (diff) | |
| download | meta-ti-30bc6a176aadedd48ce66e8bf37c838418dd81dc.tar.gz | |
dfe-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>
Diffstat (limited to 'recipes-bsp/dfe-lld')
| -rw-r--r-- | recipes-bsp/dfe-lld/dfe-lld-test_git.bb | 2 | ||||
| -rw-r--r-- | recipes-bsp/dfe-lld/dfe-lld.inc | 17 | ||||
| -rw-r--r-- | recipes-bsp/dfe-lld/dfe-lld_git.bb | 2 |
3 files changed, 17 insertions, 4 deletions
diff --git a/recipes-bsp/dfe-lld/dfe-lld-test_git.bb b/recipes-bsp/dfe-lld/dfe-lld-test_git.bb index acaaf637..34b90c7d 100644 --- a/recipes-bsp/dfe-lld/dfe-lld-test_git.bb +++ b/recipes-bsp/dfe-lld/dfe-lld-test_git.bb | |||
| @@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip dfe-lld iqn2-lld" | |||
| 4 | 4 | ||
| 5 | include dfe-lld.inc | 5 | include dfe-lld.inc |
| 6 | 6 | ||
| 7 | PR = "${INC_PR}.0" | ||
| 8 | |||
| 7 | EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} DFE_SRC_DIR=${S}" | 9 | EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} DFE_SRC_DIR=${S}" |
| 8 | 10 | ||
| 9 | do_compile () { | 11 | do_compile () { |
diff --git a/recipes-bsp/dfe-lld/dfe-lld.inc b/recipes-bsp/dfe-lld/dfe-lld.inc index f5778d9e..f2e42133 100644 --- a/recipes-bsp/dfe-lld/dfe-lld.inc +++ b/recipes-bsp/dfe-lld/dfe-lld.inc | |||
| @@ -1,13 +1,22 @@ | |||
| 1 | LICENSE = "BSD-3-Clause" | 1 | LICENSE = "BSD-3-Clause" |
| 2 | 2 | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=1f4217b705bf98762a302fd720649dcc" | 3 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=1f4217b705bf98762a302fd720649dcc" |
| 4 | BRANCH = "master" | 4 | |
| 5 | SRC_URI = "git://git.ti.com/keystone-rtos/dfe-lld.git;destsuffix=git/ti/drv/dfe;protocol=git;branch=${BRANCH}" | 5 | DFE_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/dfe-lld.git" |
| 6 | DFE_LLD_GIT_PROTOCOL = "git" | ||
| 7 | DFE_LLD_GIT_BRANCH = "master" | ||
| 8 | DFE_LLD_GIT_DESTSUFFIX = "git/ti/drv/dfe" | ||
| 9 | |||
| 6 | # The following commit correspond to DEV.DFE_LLD.01.00.00.05E | 10 | # The following commit correspond to DEV.DFE_LLD.01.00.00.05E |
| 7 | SRCREV = "42e9df0108d208c92b9d2fee7e8b1b1ab62f4b69" | 11 | DFE_LLD_SRCREV = "42e9df0108d208c92b9d2fee7e8b1b1ab62f4b69" |
| 12 | |||
| 13 | BRANCH = "${DFE_LLD_GIT_BRANCH}" | ||
| 14 | SRC_URI = "${DFE_LLD_GIT_URI};destsuffix=${DFE_LLD_GIT_DESTSUFFIX};protocol=${DFE_LLD_GIT_PROTOCOL};branch=${BRANCH}" | ||
| 15 | SRCREV = "${DFE_LLD_SRCREV}" | ||
| 8 | 16 | ||
| 9 | PV = "1.0.0.5" | 17 | PV = "1.0.0.5" |
| 18 | INC_PR = "r1" | ||
| 10 | 19 | ||
| 11 | COMPATIBLE_MACHINE = "k2l-evm" | 20 | COMPATIBLE_MACHINE = "k2l-evm" |
| 12 | 21 | ||
| 13 | S = "${WORKDIR}/git/ti/drv/dfe" | 22 | S = "${WORKDIR}/${DFE_LLD_GIT_DESTSUFFIX}" |
diff --git a/recipes-bsp/dfe-lld/dfe-lld_git.bb b/recipes-bsp/dfe-lld/dfe-lld_git.bb index a2477ca6..3d335849 100644 --- a/recipes-bsp/dfe-lld/dfe-lld_git.bb +++ b/recipes-bsp/dfe-lld/dfe-lld_git.bb | |||
| @@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip" | |||
| 4 | 4 | ||
| 5 | include dfe-lld.inc | 5 | include dfe-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 () { |
