diff options
| author | Denys Dmytriyenko <denys@ti.com> | 2015-09-09 00:40:45 +0000 |
|---|---|---|
| committer | Denys Dmytriyenko <denys@ti.com> | 2015-09-08 14:45:15 -0400 |
| commit | a2c60cc3d50a17911d54c94b0f223995033ef4ff (patch) | |
| tree | 687db41eeac3766c5651c99fcf708d5cbd46d744 /recipes-bsp | |
| parent | deca190cc85b7fc97a7355b1a099ba3ebd81547d (diff) | |
| download | meta-ti-a2c60cc3d50a17911d54c94b0f223995033ef4ff.tar.gz | |
boot-monitor: also package resulting skern file into /boot
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp')
| -rw-r--r-- | recipes-bsp/boot-monitor/boot-monitor_git.bb | 17 |
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}" | |||
| 8 | SRC_URI = "git://git.ti.com/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}" | 8 | SRC_URI = "git://git.ti.com/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}" |
| 9 | 9 | ||
| 10 | PV = "2.0+git${SRCPV}" | 10 | PV = "2.0+git${SRCPV}" |
| 11 | PR = "r4" | 11 | PR = "r5" |
| 12 | 12 | ||
| 13 | BRANCH = "master" | 13 | BRANCH = "master" |
| 14 | 14 | ||
| @@ -24,6 +24,10 @@ FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_contains("TUNE_FEATURE | |||
| 24 | 24 | ||
| 25 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}" LD="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}"" | 25 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}" LD="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}"" |
| 26 | 26 | ||
| 27 | FILES_${PN} = "/boot" | ||
| 28 | |||
| 29 | inherit deploy | ||
| 30 | |||
| 27 | do_compile () { | 31 | do_compile () { |
| 28 | unset LDFLAGS | 32 | unset LDFLAGS |
| 29 | unset CFLAGS | 33 | unset CFLAGS |
| @@ -31,11 +35,14 @@ do_compile () { | |||
| 31 | oe_runmake ${BOOT_MONITOR_MAKE_TARGET} | 35 | oe_runmake ${BOOT_MONITOR_MAKE_TARGET} |
| 32 | } | 36 | } |
| 33 | 37 | ||
| 34 | inherit deploy | 38 | do_install () { |
| 35 | 39 | install -d ${D}/boot | |
| 36 | addtask deploy before do_build after do_compile | 40 | install -m 0644 ${S}/${BOOT_MONITOR_BINARY} ${D}/boot/${BOOT_MONITOR_IMAGE} |
| 41 | } | ||
| 37 | 42 | ||
| 38 | do_deploy () { | 43 | do_deploy () { |
| 39 | install -d ${DEPLOYDIR} | 44 | install -d ${DEPLOYDIR} |
| 40 | install ${S}/${BOOT_MONITOR_BINARY} ${DEPLOYDIR}/${BOOT_MONITOR_IMAGE} | 45 | install -m 0644 ${S}/${BOOT_MONITOR_BINARY} ${DEPLOYDIR}/${BOOT_MONITOR_IMAGE} |
| 41 | } | 46 | } |
| 47 | |||
| 48 | addtask deploy before do_build after do_compile | ||
