aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0034a84..b08bad4 100644
--- a/Makefile
+++ b/Makefile
@@ -1781,9 +1781,9 @@ else
quiet_cmd_u-boot__ ?= LD $@
cmd_u-boot__ ?= $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_u-boot) -o $@ \
-T u-boot.lds $(u-boot-init) \
- $(if $(CONFIG_EFI_APP_64BIT),,--whole-archive) \
+ --whole-archive \
$(u-boot-main) \
- $(if $(CONFIG_EFI_APP_64BIT),,--no-whole-archive) \
+ --no-whole-archive \
$(PLATFORM_LIBS) -Map u-boot.map; \
$(if $(ARCH_POSTLINK), $(MAKE) -f $(ARCH_POSTLINK) $@, true)
endif