1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-07-16 14:27:48 +00:00

boot-monitor: also package resulting skern file into /boot

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Denys Dmytriyenko
2015-09-09 00:40:45 +00:00
parent de2bdfdc93
commit 8f3e07ca27
+12 -5
View File
@@ -8,7 +8,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI = "git://git.ti.com/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}" SRC_URI = "git://git.ti.com/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}"
PV = "2.0+git${SRCPV}" PV = "2.0+git${SRCPV}"
PR = "r4" PR = "r5"
BRANCH = "master" BRANCH = "master"
@@ -24,6 +24,10 @@ FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_contains("TUNE_FEATURE
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}" LD="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}"" EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}" LD="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}""
FILES_${PN} = "/boot"
inherit deploy
do_compile () { do_compile () {
unset LDFLAGS unset LDFLAGS
unset CFLAGS unset CFLAGS
@@ -31,11 +35,14 @@ do_compile () {
oe_runmake ${BOOT_MONITOR_MAKE_TARGET} oe_runmake ${BOOT_MONITOR_MAKE_TARGET}
} }
inherit deploy do_install () {
install -d ${D}/boot
addtask deploy before do_build after do_compile install -m 0644 ${S}/${BOOT_MONITOR_BINARY} ${D}/boot/${BOOT_MONITOR_IMAGE}
}
do_deploy () { do_deploy () {
install -d ${DEPLOYDIR} install -d ${DEPLOYDIR}
install ${S}/${BOOT_MONITOR_BINARY} ${DEPLOYDIR}/${BOOT_MONITOR_IMAGE} install -m 0644 ${S}/${BOOT_MONITOR_BINARY} ${DEPLOYDIR}/${BOOT_MONITOR_IMAGE}
} }
addtask deploy before do_build after do_compile