summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2013-02-22 11:36:50 +0100
committerStefan Roese <sr@denx.de>2013-04-22 09:53:53 +0200
commitecddccd006e0d5ee2d0336175d787839460dc66b (patch)
treef744a2bc15f544347a68c1815485cae7fcbe623d /config.mk
parent98f99e9f16462fa07ad0b0cd0c7c0d2623a6da87 (diff)
Makefile: Add target for combined u-boot.img & spl/u-boot.bin
This new make target "u-boot-img-spl-at-end.bin" consists of the the real, full-blown U-Boot image and the U-Boot SPL binary directly attached to it. The full-blown U-Boot image has the mkimage header included, with its load-address and entry-point. This will be used by the upcoming lwmon5 PPC440EPx derivate board port. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 1fd109f1bdf..89a89f20819 100644
--- a/config.mk
+++ b/config.mk
@@ -222,6 +222,10 @@ ifneq ($(CONFIG_SPL_PAD_TO),)
CPPFLAGS += -DCONFIG_SPL_PAD_TO=$(CONFIG_SPL_PAD_TO)
endif
+ifneq ($(CONFIG_UBOOT_PAD_TO),)
+CPPFLAGS += -DCONFIG_UBOOT_PAD_TO=$(CONFIG_UBOOT_PAD_TO)
+endif
+
ifeq ($(CONFIG_SPL_BUILD),y)
CPPFLAGS += -DCONFIG_SPL_BUILD
endif