[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

busybox still too bloated



reopen 113503
thanks

busybox is still too bloated, 12k can be saved on powerpc by applying
the rest of my patch, a new patch is enclosed here:

--- Config.h-deb.orig	Mon Sep 24 16:04:52 2001
+++ Config.h-deb	Sat Sep  1 23:51:39 2001
@@ -10,7 +10,7 @@
 //#define BB_ADJTIMEX
 #define BB_AR
 //#define BB_ASH
-#define BB_BASENAME
+//#define BB_BASENAME
 #define BB_CAT
 #define BB_CHGRP
 #define BB_CHMOD
@@ -22,18 +22,18 @@
 #define BB_CP
 //#define BB_CPIO
 #define BB_CUT
-#define BB_DATE
+//#define BB_DATE
 //#define BB_DC
 #define BB_DD
 //#define BB_DEALLOCVT
 #define BB_DF
-#define BB_DIRNAME
+//#define BB_DIRNAME
 #define BB_DMESG
 //#define BB_DOS2UNIX
 //#define BB_DPKG
 //#define BB_DPKG_DEB
 //#define BB_DUTMP
-#define BB_DU
+//#define BB_DU
 //#define BB_DUMPKMAP
 #define BB_ECHO
 #define BB_ENV
@@ -41,7 +41,7 @@
 //#define BB_FBSET
 //#define BB_FDFLUSH
 #define BB_FIND
-#define BB_FREE
+//#define BB_FREE
 //#define BB_FREERAMDISK
 //#define BB_FSCK_MINIX
 //#define BB_GETOPT
@@ -92,12 +92,12 @@
 #define BB_POWEROFF
 //#define BB_PRINTF
 #define BB_PS
-#define BB_PWD
+//#define BB_PWD
 //#define BB_RDATE
 //#define BB_READLINK
 #define BB_REBOOT
 //#define BB_RENICE
-#define BB_RESET
+//#define BB_RESET
 #define BB_RM
 #define BB_RMDIR
 //#define BB_RMMOD
@@ -126,10 +126,10 @@
 //#define BB_UUENCODE
 //#define BB_UUDECODE
 #define BB_UMOUNT
-#define BB_UNIQ
+//#define BB_UNIQ
 #define BB_UNAME
 //#define BB_UPDATE
-#define BB_UPTIME
+//#define BB_UPTIME
 //#define BB_USLEEP
 //#define BB_VI
 //#define BB_WATCHDOG
@@ -194,7 +194,7 @@
 #define BB_FEATURE_LS_TIMESTAMPS
 //
 // enable ls -p and -F
-#define BB_FEATURE_LS_FILETYPES
+//#define BB_FEATURE_LS_FILETYPES
 //
 // sort the file names
 #define BB_FEATURE_LS_SORTFILES
@@ -206,7 +206,7 @@
 #define BB_FEATURE_LS_FOLLOWLINKS
 //
 // Disable for a smaller (but less functional) ping
-#define BB_FEATURE_FANCY_PING
+//#define BB_FEATURE_FANCY_PING
 //
 // Make init use a simplified /etc/inittab file (recommended).
 #define BB_FEATURE_USE_INITTAB
@@ -228,7 +228,7 @@
 //
 //Disable for a simple tail implementation (2.34k vs 3k for the full one).
 //Both provide 'tail -f', but this cuts out -c, -q, -s, and -v. 
-#define BB_FEATURE_FANCY_TAIL
+//#define BB_FEATURE_FANCY_TAIL
 //
 // Enable support for loop devices in mount
 #define BB_FEATURE_MOUNT_LOOP
@@ -249,16 +249,16 @@
 #define BB_FEATURE_TAR_CREATE
 //
 // Enable support for "--exclude" and "-X" for excluding files
-#define BB_FEATURE_TAR_EXCLUDE
+//#define BB_FEATURE_TAR_EXCLUDE
 //
 // Enable support for tar -z option (currently only works for inflating)
 #define BB_FEATURE_TAR_GZIP 
 //
 // Enable reverse sort
-#define BB_FEATURE_SORT_REVERSE
+//#define BB_FEATURE_SORT_REVERSE
 //
 // Enable uniqe sort
-#define BB_FEATURE_SORT_UNIQUE
+//#define BB_FEATURE_SORT_UNIQUE
 //
 // Enable command line editing in the shell.  
 // Only relevant if a shell is enabled. On by default.
@@ -334,7 +334,7 @@
 #define BB_FEATURE_INSTALLER
 //
 // Enable a nifty progress meter in wget (adds just under 2k)
-#define BB_FEATURE_WGET_STATUSBAR
+//#define BB_FEATURE_WGET_STATUSBAR
 //
 // Enable HTTP authentication in wget
 #define BB_FEATURE_WGET_AUTHENTICATION


-- 
Ethan Benson
http://www.alaska.net/~erbenson/



Reply to: