From ecddccd006e0d5ee2d0336175d787839460dc66b Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Fri, 22 Feb 2013 11:36:50 +0100 Subject: 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 --- config.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.mk') diff --git a/config.mk b/config.mk index 1fd109f1bd..89a89f2081 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 -- cgit v1.2.1