summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/kvx/Makefile2
-rw-r--r--arch/mips/pbl/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/kvx/Makefile b/arch/kvx/Makefile
index 9e7c8c0..13c4e24 100644
--- a/arch/kvx/Makefile
+++ b/arch/kvx/Makefile
@@ -30,6 +30,6 @@ lds-y += arch/kvx/cpu/barebox.lds
cmd_barebox__ ?= $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_barebox) -o $@ \
-T $(BAREBOX_LDS) \
- --whole-archive $(BAREBOX_OBJS) --no-while-archive \
+ --whole-archive $(BAREBOX_OBJS) --no-whole-archive \
-L$(LIBGCC_PATH) -lgcc \
$(filter-out $(BAREBOX_LDS) $(BAREBOX_OBJS) FORCE ,$^)
diff --git a/arch/mips/pbl/Makefile b/arch/mips/pbl/Makefile
index 3bd0df1..f85c7a6 100644
--- a/arch/mips/pbl/Makefile
+++ b/arch/mips/pbl/Makefile
@@ -31,7 +31,7 @@ zbarebox-lds := $(obj)/zbarebox.lds
quiet_cmd_zbarebox__ ?= LD $@
cmd_zbarebox__ ?= $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_zbarebox) -o $@ \
-T $(zbarebox-lds) \
- --whole-archive $(zbarebox-common) --no-while-archive \
+ --whole-archive $(zbarebox-common) --no-whole-archive \
$(filter-out $(zbarebox-lds) $(zbarebox-common) FORCE ,$^)
$(obj)/zbarebox: $(zbarebox-lds) $(zbarebox-common) FORCE