diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-02-29 21:49:22 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-02-29 21:49:22 +0000 |
commit | 7c4b2f3fe5cb6b9a5c6bd089c18279c5ce29dc21 (patch) | |
tree | e5262e24142add93b66f923ec59c381c0edf2485 | |
parent | a51ecdd9e4025d072d2737d6bea8a1d03bc74274 (diff) | |
download | busybox-w32-7c4b2f3fe5cb6b9a5c6bd089c18279c5ce29dc21.tar.gz busybox-w32-7c4b2f3fe5cb6b9a5c6bd089c18279c5ce29dc21.tar.bz2 busybox-w32-7c4b2f3fe5cb6b9a5c6bd089c18279c5ce29dc21.zip |
Minor makefile and todo updates
-Erik
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | TODO | 6 |
2 files changed, 9 insertions, 3 deletions
@@ -18,7 +18,7 @@ | |||
18 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 | # | 19 | # |
20 | 20 | ||
21 | # PROG := busybox | 21 | PROG := busybox |
22 | VERSION := 0.43 | 22 | VERSION := 0.43 |
23 | BUILDTIME := $(shell TZ=GMT date "+%Y%m%d-%H%M") | 23 | BUILDTIME := $(shell TZ=GMT date "+%Y%m%d-%H%M") |
24 | 24 | ||
@@ -77,7 +77,7 @@ ifeq ($(DODEBUG),true) | |||
77 | else | 77 | else |
78 | CFLAGS += -Wall $(OPTIMIZATION) -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE | 78 | CFLAGS += -Wall $(OPTIMIZATION) -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE |
79 | LDFLAGS = -s | 79 | LDFLAGS = -s |
80 | STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment | 80 | STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment $(PROG) |
81 | #Only staticly link when _not_ debugging | 81 | #Only staticly link when _not_ debugging |
82 | ifeq ($(DOSTATIC),true) | 82 | ifeq ($(DOSTATIC),true) |
83 | LDFLAGS += --static | 83 | LDFLAGS += --static |
@@ -101,7 +101,7 @@ all: busybox busybox.links | |||
101 | 101 | ||
102 | busybox: $(OBJECTS) | 102 | busybox: $(OBJECTS) |
103 | $(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES) | 103 | $(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES) |
104 | $(STRIP) $@ | 104 | $(STRIP) |
105 | 105 | ||
106 | busybox.links: busybox.def.h | 106 | busybox.links: busybox.def.h |
107 | - ./busybox.mkll | sort >$@ | 107 | - ./busybox.mkll | sort >$@ |
@@ -31,6 +31,12 @@ around to it some time. If you have any good ideas, please let me know. | |||
31 | 31 | ||
32 | ----------------------- | 32 | ----------------------- |
33 | 33 | ||
34 | Compile with debugging on, run 'nm --size-sort ./busybox' | ||
35 | and then start with the biggest things and make them smaller... | ||
36 | |||
37 | |||
38 | ----------------------- | ||
39 | |||
34 | 40 | ||
35 | busybox.defs.h is too big and hard to follow. | 41 | busybox.defs.h is too big and hard to follow. |
36 | 42 | ||