Browse Source

config: add size information for three more applets

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko 5 years ago
parent
commit
df1ff103c9
4 changed files with 5 additions and 5 deletions
  1. 1 1
      networking/udhcp/Config.src
  2. 2 2
      size_single_applets.sh
  3. 1 1
      util-linux/fsck_minix.c
  4. 1 1
      util-linux/mkfs_minix.c

+ 1 - 1
networking/udhcp/Config.src

@@ -60,7 +60,7 @@ config DHCPRELAY
 	server.
 
 config UDHCPC
-	bool "udhcpc"
+	bool "udhcpc (24 kb)"
 	default y
 	select PLATFORM_LINUX
 	help

+ 2 - 2
size_single_applets.sh

@@ -56,9 +56,9 @@ grep ^IF_ include/applets.h \
 	b="busybox_${app}"
 	test -f "$b" || continue
 
-	file=`grep -lF "bool \"$name" $(find -name '*.c') | xargs`
+	file=`grep -l "bool \"$name[\" ]" $(find -name '*.c') | xargs`
 	# A few applets have their CONFIG items in Config.* files, not .c files:
-	test "$file" || file=`grep -lF "bool \"$name" $(find -name 'Config.*') | xargs`
+	test "$file" || file=`grep -l "bool \"$name[\" ]" $(find -name 'Config.*') | xargs`
 	test "$file" || continue
 	#echo "FILE:'$file'"
 

+ 1 - 1
util-linux/fsck_minix.c

@@ -86,7 +86,7 @@
  * enforced (but it's not much fun on a character device :-).
  */
 //config:config FSCK_MINIX
-//config:	bool "fsck_minix"
+//config:	bool "fsck.minix (13 kb)"
 //config:	default y
 //config:	help
 //config:	The minix filesystem is a nice, small, compact, read-write filesystem

+ 1 - 1
util-linux/mkfs_minix.c

@@ -63,7 +63,7 @@
  *	removed getopt based parser and added a hand rolled one.
  */
 //config:config MKFS_MINIX
-//config:	bool "mkfs_minix"
+//config:	bool "mkfs.minix (10 kb)"
 //config:	default y
 //config:	select PLATFORM_LINUX
 //config:	help