arm: always enable the garbage collector for pbl
This allow to save arround 1KiB on at91 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
663dd028cb
commit
1d861eb2a6
|
@ -19,7 +19,9 @@ $(obj)/zbarebox.bin: $(obj)/zbarebox FORCE
|
|||
$(obj)/zbarebox.S: $(obj)/zbarebox FORCE
|
||||
$(call if_changed,disasm)
|
||||
|
||||
PBL_CPPFLAGS += -fdata-sections -ffunction-sections
|
||||
LDFLAGS_zbarebox := -Map zbarebox.map
|
||||
LDFLAGS_zbarebox += -static --gc-sections
|
||||
zbarebox-common := $(barebox-pbl-common) $(obj)/$(piggy_o)
|
||||
zbarebox-lds := $(obj)/zbarebox.lds
|
||||
|
||||
|
|
Loading…
Reference in New Issue