From: Hao Zhang <[email protected]>

Signed-off-by: Hao Zhang <[email protected]>
---
 recipes-bsp/boot-monitor/boot-monitor_git.bb |   21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/recipes-bsp/boot-monitor/boot-monitor_git.bb 
b/recipes-bsp/boot-monitor/boot-monitor_git.bb
index 7c5e9cf..08a8c66 100644
--- a/recipes-bsp/boot-monitor/boot-monitor_git.bb
+++ b/recipes-bsp/boot-monitor/boot-monitor_git.bb
@@ -3,9 +3,6 @@ EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
 
 LICENSE = "BSD"
 
-BOOT_MONITOR_BINARY ?= "skern.bin"
-BOOT_MONITOR_IMAGE  ?= "skern-${MACHINE}.bin"
-BOOT_MONITOR_MAKE_TARGET  ?= "all"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=25fe219a6febf6e5bb45beda1b2eb315"
 
@@ -14,20 +11,24 @@ COMPATIBLE_MACHINE = "keystone-evm"
 SRC_URI = 
"git://git.ti.com/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}"
 
 PV = "2.0"
-PR = "r0+gitr${SRCPV}"
+PR = "r1+gitr${SRCPV}"
 
 BRANCH = "master"
 
 S = "${WORKDIR}/git"
 
-#Tag "K2_BM_13.11"
-SRCREV = "ba597d183423971e63295cdd59d3c90245e9170a"
+#Tag "K2_BM_14.05"
+SRCREV = "0e3ffe1ea4a0cee38ae2406901b7cf4d5324b5e9"
+DEVICELIST = "k2hk k2l k2e"
 
 do_compile () {
        unset LDFLAGS
        unset CFLAGS
        unset CPPFLAGS
-       oe_runmake ${BOOT_MONITOR_MAKE_TARGET}
+       for device in ${DEVICELIST}
+       do
+               oe_runmake "$device"
+       done
 }
 
 inherit deploy
@@ -36,5 +37,9 @@ addtask deploy before do_build after do_compile
 
 do_deploy () {
        install -d ${DEPLOYDIR}
-       install ${S}/${BOOT_MONITOR_BINARY} ${DEPLOYDIR}/${BOOT_MONITOR_IMAGE}
+       for device in ${DEVICELIST}
+       do
+               install ${S}/skern-"$device".bin \
+                       ${DEPLOYDIR}/skern-"$device"-${MACHINE}.bin
+       done
 }
-- 
1.7.9.5

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to