diff options
-rw-r--r-- | platforms/u-boot.in | 14 | ||||
-rw-r--r-- | rules/u-boot.make | 9 |
2 files changed, 23 insertions, 0 deletions
diff --git a/platforms/u-boot.in b/platforms/u-boot.in index 6239a5369..e63830171 100644 --- a/platforms/u-boot.in +++ b/platforms/u-boot.in @@ -128,5 +128,19 @@ config U_BOOT_INSTALL_U_BOOT_IMX image directory. Say yes if you are building for freescale i.MX SOCs and are not using SPL. +config U_BOOT_INSTALL_U_BOOT_DTB + prompt "install u-boot-dtb.bin" + bool + help + Installing the U-Boot binary concatenated with the device tree + into platform image directory. + +config U_BOOT_INSTALL_U_BOOT_WITH_SPL_PBL + prompt "install u-boot-with-spl-pbl.bin" + bool + help + Installing the U-Boot binary which contains as well the SPL and PBL. + Say yes if you are building for Layerscape SoCs + endif diff --git a/rules/u-boot.make b/rules/u-boot.make index 5668f8f89..c72a2ea09 100644 --- a/rules/u-boot.make +++ b/rules/u-boot.make @@ -113,6 +113,14 @@ endif ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_IMX @install -v -D -m644 $(U_BOOT_DIR)/u-boot.imx $(IMAGEDIR)/u-boot.imx endif +ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_DTB + @install -v -D -m644 $(U_BOOT_DIR)/u-boot-dtb.bin \ + $(IMAGEDIR)/u-boot-dtb.bin +endif +ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_WITH_SPL_PBL + @install -v -D -m644 $(U_BOOT_DIR)/u-boot-with-spl-pbl.bin \ + $(IMAGEDIR)/u-boot-with-spl-pbl.bin +endif @$(call touch) # ---------------------------------------------------------------------------- @@ -125,6 +133,7 @@ $(STATEDIR)/u-boot.clean: @rm -vf $(IMAGEDIR)/u-boot.bin $(IMAGEDIR)/u-boot.srec $(IMAGEDIR)/u-boot.elf @rm -vf $(IMAGEDIR)/u-boot.img $(IMAGEDIR)/SPL $(IMAGEDIR)/MLO @rm -vf $(IMAGEDIR)/u-boot.imx + @rm -vf $(IMAGEDIR)/u-boot-dtb.bin $(IMAGEDIR)/u-boot-with-spl-pbl.bin # ---------------------------------------------------------------------------- # oldconfig / menuconfig |