From df1ff103c9e0496e7de9528500cddff36701609e Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 28 Dec 2018 13:37:44 +0100 Subject: [PATCH] config: add size information for three more applets Signed-off-by: Denys Vlasenko --- networking/udhcp/Config.src | 2 +- size_single_applets.sh | 4 ++-- util-linux/fsck_minix.c | 2 +- util-linux/mkfs_minix.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src index e13a3ec82..f16fc0a4f 100644 --- a/networking/udhcp/Config.src +++ b/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 diff --git a/size_single_applets.sh b/size_single_applets.sh index 6df5d7bee..4b70e761f 100755 --- a/size_single_applets.sh +++ b/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'" diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c index c4612f251..f523da945 100644 --- a/util-linux/fsck_minix.c +++ b/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 diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index 69dfcd123..e191acbd0 100644 --- a/util-linux/mkfs_minix.c +++ b/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