summaryrefslogtreecommitdiff
path: root/spl
diff options
context:
space:
mode:
Diffstat (limited to 'spl')
-rw-r--r--spl/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 1e88d74..003956e 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)