boot-monitor: add K2L and K2E boot monitor build support
PATCH v2 1/1 boot-monitor: add K2L and K2E boot monitor build support
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(-)
recipes-bsp/boot-monitor/boot-monitor_git.bb +13 -8
@@ -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 }
Signature · 1 line
1.7.9.5