diff options
Diffstat (limited to 'spl/Makefile')
-rw-r--r-- | spl/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/spl/Makefile b/spl/Makefile index 1e88d7469f..003956ebb3 100644 --- a/spl/Makefile +++ b/spl/Makefile @@ -155,8 +155,13 @@ endif all: $(ALL-y) ifdef CONFIG_SAMSUNG +ifdef CONFIG_VAR_SIZE_SPL +VAR_SIZE_PARAM = --vs +else +VAR_SIZE_PARAM = +endif $(obj)$(BOARD)-spl.bin: $(obj)u-boot-spl.bin - $(OBJTREE)/tools/mk$(BOARD)spl $< $@ + $(OBJTREE)/tools/mk$(BOARD)spl $(VAR_SIZE_PARAM) $< $@ endif $(obj)$(SPL_BIN).bin: $(obj)$(SPL_BIN) |