summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/uboot/u-boot.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/uboot/u-boot.inc')
-rw-r--r--meta/recipes-bsp/uboot/u-boot.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-bsp/uboot/u-boot.inc b/meta/recipes-bsp/uboot/u-boot.inc
index 83dfb6fa86..2be9fc9ebe 100644
--- a/meta/recipes-bsp/uboot/u-boot.inc
+++ b/meta/recipes-bsp/uboot/u-boot.inc
@@ -21,6 +21,7 @@ python () {
21} 21}
22 22
23UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin" 23UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin"
24UBOOT_BINARY ?= "u-boot.bin"
24UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin" 25UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin"
25UBOOT_MAKE_TARGET ?= "all" 26UBOOT_MAKE_TARGET ?= "all"
26 27
@@ -32,6 +33,16 @@ do_compile () {
32 oe_runmake ${UBOOT_MAKE_TARGET} 33 oe_runmake ${UBOOT_MAKE_TARGET}
33} 34}
34 35
36do_install () {
37 install -d ${D}/boot
38 install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
39 ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
40}
41
42FILES_${PN} = "/boot"
43# no gnu_hash in uboot.bin, by design, so skip QA
44INSANE_SKIP_${PN} = True
45
35do_deploy () { 46do_deploy () {
36 install ${S}/u-boot.bin ${DEPLOYDIR}/${UBOOT_IMAGE} 47 install ${S}/u-boot.bin ${DEPLOYDIR}/${UBOOT_IMAGE}
37 48