diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -568,11 +568,13 @@ busybox-all := $(core-y) $(libs-y) | |||
568 | # Rule to link busybox - also used during CONFIG_KALLSYMS | 568 | # Rule to link busybox - also used during CONFIG_KALLSYMS |
569 | # May be overridden by arch/$(ARCH)/Makefile | 569 | # May be overridden by arch/$(ARCH)/Makefile |
570 | quiet_cmd_busybox__ ?= LINK $@ | 570 | quiet_cmd_busybox__ ?= LINK $@ |
571 | cmd_busybox__ ?= $(srctree)/scripts/trylink $(CC) $(LDFLAGS) $(EXTRA_LDFLAGS) \ | 571 | cmd_busybox__ ?= $(srctree)/scripts/trylink \ |
572 | -o $@ -Wl,-Map -Wl,$@.map \ | 572 | "$@" \ |
573 | -Wl,--warn-common -Wl,--sort-common -Wl,--gc-sections \ | 573 | "$(CC)" \ |
574 | -Wl,--start-group $(busybox-all) -Wl,--end-group \ | 574 | "$(LDFLAGS) $(EXTRA_LDFLAGS)" \ |
575 | $(LDLIBS) | 575 | "$(core-y)" \ |
576 | "$(libs-y)" \ | ||
577 | "$(LDLIBS)" | ||
576 | 578 | ||
577 | # Generate System.map | 579 | # Generate System.map |
578 | quiet_cmd_sysmap = SYSMAP | 580 | quiet_cmd_sysmap = SYSMAP |