Fixed chmod and friends.

This commit is contained in:
Eric Andersen
1999-10-20 07:03:36 +00:00
parent b9b421c186
commit ce8f3b9933
3 changed files with 110 additions and 209 deletions

View File

@@ -5,7 +5,7 @@ BUILDTIME=$(shell date "+%Y%m%d-%H%M")
# Comment out the following to make a debuggable build
# Leave this off for production use.
#DODEBUG=true
DODEBUG=true
#This will choke on a non-debian system
ARCH=`uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/'`
@@ -19,7 +19,7 @@ ifeq ($(DODEBUG),true)
else
CFLAGS=-Wall -Os -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE
LDFLAGS= -s
STRIP= strip --remove-section=.note --remove-section=.comment
STRIP= strip --remove-section=.note --remove-section=.comment $(PROG)
endif
ifndef $(prefix)
@@ -36,7 +36,7 @@ all: busybox links
busybox: $(OBJECTS)
$(CC) $(LDFLAGS) -o $(PROG) $(OBJECTS) $(LIBRARIES)
$(STRIP) $(PROG)
$(STRIP)
links:
- ./busybox.mkll | sort >busybox.links