aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-06-19 15:58:02 +0000
committerMike Frysinger <vapier@gentoo.org>2007-06-19 15:58:02 +0000
commit5b5bcf24f5293f7f3db0aca9af98777a5aff6be2 (patch)
tree88d6cf678bcb1f56e3aba070df52091d733eb122 /Makefile
parent31789a81d5751acaaf373e8ede2932208161f869 (diff)
downloadbusybox-5b5bcf24f5293f7f3db0aca9af98777a5aff6be2.tar.gz
punt %.bflt target in favor of proper LDFLAGS=-Wl,-elf2flt handling
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 341bd7d5d..4a87573b7 100644
--- a/Makefile
+++ b/Makefile
@@ -677,8 +677,12 @@ busybox_unstripped: $(busybox-all) FORCE
$(Q)rm -f .old_version
busybox: busybox_unstripped
+ifeq ($(SKIP_STRIP),y)
+ $(Q)cp $< $@
+else
$(Q)$(STRIP) -s --remove-section=.note --remove-section=.comment \
busybox_unstripped -o $@
+endif
# The actual objects are generated when descending,
# make sure no implicit rule kicks in