summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDenis Vlasenko2007-10-07 17:05:22 +0000
committerDenis Vlasenko2007-10-07 17:05:22 +0000
commit3240474c23bf4f47536a854693b4cbacb54b9b04 (patch)
tree7736932b581341b317aea5bd208f9e648e895055 /Makefile
parente747f62ed69504825beb2c52b8f0448b3d3b72ed (diff)
downloadbusybox-3240474c23bf4f47536a854693b4cbacb54b9b04.zip
busybox-3240474c23bf4f47536a854693b4cbacb54b9b04.tar.gz
reviving libbusybox, adding CONFIG_INDIVIDUAL part 1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 2dced88..5cc4ab2 100644
--- a/Makefile
+++ b/Makefile
@@ -568,11 +568,13 @@ busybox-all := $(core-y) $(libs-y)
# Rule to link busybox - also used during CONFIG_KALLSYMS
# May be overridden by arch/$(ARCH)/Makefile
quiet_cmd_busybox__ ?= LINK $@
- cmd_busybox__ ?= $(srctree)/scripts/trylink $(CC) $(LDFLAGS) $(EXTRA_LDFLAGS) \
- -o $@ -Wl,-Map -Wl,$@.map \
- -Wl,--warn-common -Wl,--sort-common -Wl,--gc-sections \
- -Wl,--start-group $(busybox-all) -Wl,--end-group \
- $(LDLIBS)
+ cmd_busybox__ ?= $(srctree)/scripts/trylink \
+ "$@" \
+ "$(CC)" \
+ "$(LDFLAGS) $(EXTRA_LDFLAGS)" \
+ "$(core-y)" \
+ "$(libs-y)" \
+ "$(LDLIBS)"
# Generate System.map
quiet_cmd_sysmap = SYSMAP