[meta-ti] [PATCH] boot-monitor: adjust resulting skern name to be SOC specific, not machine specific
Denys Dmytriyenko
denis at denix.org
Wed Sep 9 12:53:51 PDT 2015
From: Denys Dmytriyenko <denys at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
recipes-bsp/boot-monitor/boot-monitor_git.bb | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/recipes-bsp/boot-monitor/boot-monitor_git.bb b/recipes-bsp/boot-monitor/boot-monitor_git.bb
index d64cba7..5780195 100644
--- a/recipes-bsp/boot-monitor/boot-monitor_git.bb
+++ b/recipes-bsp/boot-monitor/boot-monitor_git.bb
@@ -8,7 +8,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI = "git://git.ti.com/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}"
PV = "2.0+git${SRCPV}"
-PR = "r5"
+PR = "r6"
BRANCH = "master"
@@ -17,8 +17,7 @@ S = "${WORKDIR}/git"
#Tag "K2_BM_15.07"
SRCREV = "62d198687a34a9df375c1686d75ad4f85515dcf9"
-BOOT_MONITOR_BINARY ?= "skern.bin"
-BOOT_MONITOR_IMAGE ?= "skern-${MACHINE}.bin"
+BOOT_MONITOR_IMAGE ?= "skern-${BOOT_MONITOR_MAKE_TARGET}.bin"
FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
@@ -37,12 +36,12 @@ do_compile () {
do_install () {
install -d ${D}/boot
- install -m 0644 ${S}/${BOOT_MONITOR_BINARY} ${D}/boot/${BOOT_MONITOR_IMAGE}
+ install -m 0644 ${S}/${BOOT_MONITOR_IMAGE} ${D}/boot/
}
do_deploy () {
install -d ${DEPLOYDIR}
- install -m 0644 ${S}/${BOOT_MONITOR_BINARY} ${DEPLOYDIR}/${BOOT_MONITOR_IMAGE}
+ install -m 0644 ${S}/${BOOT_MONITOR_IMAGE} ${DEPLOYDIR}/
}
addtask deploy before do_build after do_compile
--
2.2.0
More information about the meta-ti
mailing list