aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3ee292a82..5f8970669 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ BUILDTIME=$(shell date "+%Y%m%d-%H%M")
5 5
6# Comment out the following to make a debuggable build 6# Comment out the following to make a debuggable build
7# Leave this off for production use. 7# Leave this off for production use.
8#DODEBUG=true 8DODEBUG=true
9 9
10#This will choke on a non-debian system 10#This will choke on a non-debian system
11ARCH=`uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/'` 11ARCH=`uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/'`
@@ -19,7 +19,7 @@ ifeq ($(DODEBUG),true)
19else 19else
20 CFLAGS=-Wall -Os -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE 20 CFLAGS=-Wall -Os -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE
21 LDFLAGS= -s 21 LDFLAGS= -s
22 STRIP= strip --remove-section=.note --remove-section=.comment 22 STRIP= strip --remove-section=.note --remove-section=.comment $(PROG)
23endif 23endif
24 24
25ifndef $(prefix) 25ifndef $(prefix)
@@ -36,7 +36,7 @@ all: busybox links
36 36
37busybox: $(OBJECTS) 37busybox: $(OBJECTS)
38 $(CC) $(LDFLAGS) -o $(PROG) $(OBJECTS) $(LIBRARIES) 38 $(CC) $(LDFLAGS) -o $(PROG) $(OBJECTS) $(LIBRARIES)
39 $(STRIP) $(PROG) 39 $(STRIP)
40 40
41links: 41links:
42 - ./busybox.mkll | sort >busybox.links 42 - ./busybox.mkll | sort >busybox.links