aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-02-29 21:49:22 +0000
committerErik Andersen <andersen@codepoet.org>2000-02-29 21:49:22 +0000
commit7c4b2f3fe5cb6b9a5c6bd089c18279c5ce29dc21 (patch)
treee5262e24142add93b66f923ec59c381c0edf2485
parenta51ecdd9e4025d072d2737d6bea8a1d03bc74274 (diff)
downloadbusybox-7c4b2f3fe5cb6b9a5c6bd089c18279c5ce29dc21.tar.gz
Minor makefile and todo updates
-Erik
-rw-r--r--Makefile6
-rw-r--r--TODO6
2 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8a71beb94..1d52e1dcd 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-# PROG := busybox
+PROG := busybox
VERSION := 0.43
BUILDTIME := $(shell TZ=GMT date "+%Y%m%d-%H%M")
@@ -77,7 +77,7 @@ ifeq ($(DODEBUG),true)
else
CFLAGS += -Wall $(OPTIMIZATION) -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE
LDFLAGS = -s
- STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment
+ STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment $(PROG)
#Only staticly link when _not_ debugging
ifeq ($(DOSTATIC),true)
LDFLAGS += --static
@@ -101,7 +101,7 @@ all: busybox busybox.links
busybox: $(OBJECTS)
$(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES)
- $(STRIP) $@
+ $(STRIP)
busybox.links: busybox.def.h
- ./busybox.mkll | sort >$@
diff --git a/TODO b/TODO
index 2bd72eb4e..e05558b04 100644
--- a/TODO
+++ b/TODO
@@ -31,6 +31,12 @@ around to it some time. If you have any good ideas, please let me know.
-----------------------
+Compile with debugging on, run 'nm --size-sort ./busybox'
+and then start with the biggest things and make them smaller...
+
+
+-----------------------
+
busybox.defs.h is too big and hard to follow.