diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 | 8 | DODEBUG=true |
9 | 9 | ||
10 | #This will choke on a non-debian system | 10 | #This will choke on a non-debian system |
11 | ARCH=`uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/'` | 11 | ARCH=`uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/'` |
@@ -19,7 +19,7 @@ ifeq ($(DODEBUG),true) | |||
19 | else | 19 | else |
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) |
23 | endif | 23 | endif |
24 | 24 | ||
25 | ifndef $(prefix) | 25 | ifndef $(prefix) |
@@ -36,7 +36,7 @@ all: busybox links | |||
36 | 36 | ||
37 | busybox: $(OBJECTS) | 37 | busybox: $(OBJECTS) |
38 | $(CC) $(LDFLAGS) -o $(PROG) $(OBJECTS) $(LIBRARIES) | 38 | $(CC) $(LDFLAGS) -o $(PROG) $(OBJECTS) $(LIBRARIES) |
39 | $(STRIP) $(PROG) | 39 | $(STRIP) |
40 | 40 | ||
41 | links: | 41 | links: |
42 | - ./busybox.mkll | sort >busybox.links | 42 | - ./busybox.mkll | sort >busybox.links |