aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-10 21:00:47 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-10 21:00:47 +0000
commitcba9ef5523f09ecc3240f9f6efcdd0440c652c91 (patch)
tree79a2f859df1f6eef15defd02bd2f453735ed327e /Makefile
parent1ac42bf66e2c181b886e89f9222cae65676c9e8a (diff)
downloadbusybox-w32-cba9ef5523f09ecc3240f9f6efcdd0440c652c91.tar.gz
busybox-w32-cba9ef5523f09ecc3240f9f6efcdd0440c652c91.tar.bz2
busybox-w32-cba9ef5523f09ecc3240f9f6efcdd0440c652c91.zip
fixes from Vladimir Dronnikov <dronnikov@gmail.ru>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c1103cf95..5117c4550 100644
--- a/Makefile
+++ b/Makefile
@@ -563,9 +563,17 @@ busybox-all := $(core-y) $(libs-y)
563# Rule to link busybox - also used during CONFIG_KALLSYMS 563# Rule to link busybox - also used during CONFIG_KALLSYMS
564# May be overridden by arch/$(ARCH)/Makefile 564# May be overridden by arch/$(ARCH)/Makefile
565quiet_cmd_busybox__ ?= LINK $@ 565quiet_cmd_busybox__ ?= LINK $@
566ifdef CONFIG_STATIC
567 cmd_busybox__ ?= $(srctree)/scripts/trylink $(CC) \
568 -static \
569 -o $@ \
570 -Wl,--warn-common -Wl,--sort-common -Wl,--gc-sections \
571 -Wl,--start-group $(busybox-all) -Wl,--end-group
572else
566 cmd_busybox__ ?= $(srctree)/scripts/trylink $(CC) -o $@ \ 573 cmd_busybox__ ?= $(srctree)/scripts/trylink $(CC) -o $@ \
567 -Wl,--warn-common -Wl,--sort-common -Wl,--gc-sections \ 574 -Wl,--warn-common -Wl,--sort-common -Wl,--gc-sections \
568 -Wl,--start-group $(busybox-all) -Wl,--end-group \ 575 -Wl,--start-group $(busybox-all) -Wl,--end-group
576endif
569 577
570# Generate System.map 578# Generate System.map
571quiet_cmd_sysmap = SYSMAP 579quiet_cmd_sysmap = SYSMAP