diff options
author | Tom Rini <trini@konsulko.com> | 2015-04-18 19:24:13 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-04-18 19:24:13 -0400 |
commit | b8d7652c81689a69bc6eaa206cf875bbe632831c (patch) | |
tree | 07dfe799746a81e14b939e3d52157d4aaa319881 /scripts/Makefile.spl | |
parent | 9efaca3e847696ed40fca1dbbc621fcc35b8d94c (diff) | |
parent | 35ce2dc4d1148b66ce9271d15879dbfec5dd57f4 (diff) |
Merge branch 'buildman' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'scripts/Makefile.spl')
-rw-r--r-- | scripts/Makefile.spl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index fcacb7fcb4..ea671378d0 100644 --- a/scripts/Makefile.spl +++ b/scripts/Makefile.spl @@ -149,7 +149,7 @@ endif boot.bin: $(obj)/u-boot-spl.bin $(call if_changed,mkimage) -ALL-y += $(obj)/$(SPL_BIN).bin +ALL-y += $(obj)/$(SPL_BIN).bin $(obj)/$(SPL_BIN).cfg ifdef CONFIG_SAMSUNG ALL-y += $(obj)/$(BOARD)-spl.bin @@ -165,6 +165,13 @@ endif all: $(ALL-y) +quiet_cmd_cpp_cfg = CFG $@ +cmd_cpp_cfg = $(CPP) -Wp,-MD,$(depfile) $(cpp_flags) $(LDPPFLAGS) -ansi \ + -D__ASSEMBLY__ -x assembler-with-cpp -P -dM -E -o $@ $< + +$(obj)/$(SPL_BIN).cfg: include/config.h + $(call if_changed,cpp_cfg) + ifdef CONFIG_SAMSUNG ifdef CONFIG_VAR_SIZE_SPL VAR_SIZE_PARAM = --vs |