aboutsummaryrefslogtreecommitdiff
path: root/include/applets.h.sh
diff options
context:
space:
mode:
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