diff options
Diffstat (limited to 'meta/recipes-bsp/uboot/u-boot.inc')
-rw-r--r-- | meta/recipes-bsp/uboot/u-boot.inc | 11 |
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 83dfb6fa8..2be9fc9eb 100644 --- a/meta/recipes-bsp/uboot/u-boot.inc +++ b/meta/recipes-bsp/uboot/u-boot.inc @@ -21,6 +21,7 @@ python () { } UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin" +UBOOT_BINARY ?= "u-boot.bin" UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin" UBOOT_MAKE_TARGET ?= "all" @@ -32,6 +33,16 @@ do_compile () { oe_runmake ${UBOOT_MAKE_TARGET} } +do_install () { + install -d ${D}/boot + install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE} + ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY} +} + +FILES_${PN} = "/boot" +# no gnu_hash in uboot.bin, by design, so skip QA +INSANE_SKIP_${PN} = True + do_deploy () { install ${S}/u-boot.bin ${DEPLOYDIR}/${UBOOT_IMAGE} |