summaryrefslogtreecommitdiffstats
path: root/arch/mips/pbl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pbl/Makefile')
-rw-r--r--arch/mips/pbl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/pbl/Makefile b/arch/mips/pbl/Makefile
index 3bd0df165d..38dfbd4724 100644
--- a/arch/mips/pbl/Makefile
+++ b/arch/mips/pbl/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
suffix_$(CONFIG_IMAGE_COMPRESSION_GZIP) = gzip
suffix_$(CONFIG_IMAGE_COMPRESSION_LZO) = lzo
@@ -31,7 +32,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