X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=spl%2FMakefile;h=003956ebb34b980ffab28562603fe953c5c9beff;hb=7f673c99c2d8d1aa21996c5b914f06d784b080ca;hp=1e88d7469f40e12fabaffd1166ef8d021f334140;hpb=215ab45a67672a7c1ceb347f7b74c94323415222;p=karo-tx-uboot.git 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)