mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-07 11:20:45 +00:00
boot-monitor: adjust resulting skern name to be SOC specific, not machine specific
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user