aboutsummaryrefslogtreecommitdiff
path: root/include/applets.h.sh
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-03-24 11:55:30 +0000
committerRon Yorston <rmy@pobox.com>2021-03-24 12:43:15 +0000
commit355a7a6c1e9626b7afe8758a6095f3cf275c52e1 (patch)
tree6dab679c15b049cab97212e0b43077132eec1fbe /include/applets.h.sh
parent71ecc8033e6989996057b32577e71148fd544596 (diff)
parent889425812b5cda8b3394d73253cbde7355fb1115 (diff)
downloadbusybox-w32-w32_1_26_2.tar.gz
busybox-w32-w32_1_26_2.tar.bz2
busybox-w32-w32_1_26_2.zip
Merge tag '1_26_2' into w32_1_26_2w32_1_26_2
Diffstat (limited to '')
-rwxr-xr-xinclude/applets.h.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/applets.h.sh b/include/applets.h.sh
index bab4e0d72..be117cf84 100755
--- a/include/applets.h.sh
+++ b/include/applets.h.sh
@@ -4,11 +4,7 @@
4# enabling it. Run it after applets.h is generated. 4# enabling it. Run it after applets.h is generated.
5 5
6# CONFIG_applet names 6# CONFIG_applet names
7grep ^IF_ applets.h | grep -v IF_FEATURE_ | sed 's/IF_\([A-Z0-9._-]*\)(.*/\1/' \ 7grep ^IF_ applets.h | grep -v ^IF_FEATURE_ | sed 's/IF_\([A-Z0-9._-]*\)(.*/\1/' \
8| grep -v MODPROBE_SMALL \
9| sed 's/BB_SYSCTL/SYSCTL/' \
10| sed 's/TEST1/[/' \
11| sed 's/TEST2/[[/' \
12| sort | uniq \ 8| sort | uniq \
13>applets_APP1 9>applets_APP1
14 10
@@ -17,8 +13,11 @@ grep ^IF_ applets.h | sed -e's/ //g' -e's/.*(\([a-z[][^,]*\),.*/\1/' \
17| grep -v '^bash$' \ 13| grep -v '^bash$' \
18| grep -v '^sh$' \ 14| grep -v '^sh$' \
19| tr a-z A-Z \ 15| tr a-z A-Z \
16| sed 's/^SYSCTL$/BB_SYSCTL/' \
17| sed 's/^\[\[$/TEST1/' \
18| sed 's/^\[$/TEST2/' \
20| sort | uniq \ 19| sort | uniq \
21>applets_APP2 20>applets_APP2
22 21
23diff -u applets_APP1 applets_APP2 >applets_APP.diff 22diff -u applets_APP1 applets_APP2 >applets_APP.diff
24rm applets_APP1 applets_APP2 23#rm applets_APP1 applets_APP2