aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/boot-monitor/boot-monitor_git.bb
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2015-09-09 00:40:45 +0000
committerDenys Dmytriyenko <denys@ti.com>2015-09-08 14:45:15 -0400
commita2c60cc3d50a17911d54c94b0f223995033ef4ff (patch)
tree687db41eeac3766c5651c99fcf708d5cbd46d744 /recipes-bsp/boot-monitor/boot-monitor_git.bb
parentdeca190cc85b7fc97a7355b1a099ba3ebd81547d (diff)
downloadmeta-ti-a2c60cc3d50a17911d54c94b0f223995033ef4ff.tar.gz
meta-ti-a2c60cc3d50a17911d54c94b0f223995033ef4ff.tar.bz2
meta-ti-a2c60cc3d50a17911d54c94b0f223995033ef4ff.zip
boot-monitor: also package resulting skern file into /boot
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp/boot-monitor/boot-monitor_git.bb')
-rw-r--r--recipes-bsp/boot-monitor/boot-monitor_git.bb17
1 files changed, 12 insertions, 5 deletions
diff --git a/recipes-bsp/boot-monitor/boot-monitor_git.bb b/recipes-bsp/boot-monitor/boot-monitor_git.bb
index c353488d..d64cba71 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 = "r4"
+PR = "r5"
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}""
+FILES_${PN} = "/boot"
+
+inherit deploy
+
do_compile () {
unset LDFLAGS
unset CFLAGS
@@ -31,11 +35,14 @@ do_compile () {
oe_runmake ${BOOT_MONITOR_MAKE_TARGET}
}
-inherit deploy
-
-addtask deploy before do_build after do_compile
+do_install () {
+ install -d ${D}/boot
+ install -m 0644 ${S}/${BOOT_MONITOR_BINARY} ${D}/boot/${BOOT_MONITOR_IMAGE}
+}
do_deploy () {
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