summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-05-04 11:38:33 +0000
committerBernhard Reutner-Fischer2006-05-04 11:38:33 +0000
commit3916b2a560cadab2a6e97aff0d170ec4de88f0ab (patch)
tree673ba15680a0f72ef17c0a84940bc0430f205912 /Makefile
parent7c94bed2345008b4b62014a846488319a7af0727 (diff)
downloadbusybox-3916b2a560cadab2a6e97aff0d170ec4de88f0ab.zip
busybox-3916b2a560cadab2a6e97aff0d170ec4de88f0ab.tar.gz
- add script to check for missing help entries of config options
Currently we have these errors: ./modutils/Config.in: No helptext for 'CONFIG_FEATURE_QUERY_MODULE_INTERFACE' ./networking/Config.in: No helptext for 'CONFIG_IPADDR' ./networking/Config.in: No helptext for 'CONFIG_IPLINK' ./networking/Config.in: No helptext for 'CONFIG_IPROUTE' ./networking/Config.in: No helptext for 'CONFIG_IPTUNNEL' ./coreutils/Config.in: No helptext for 'CONFIG_UNIX2DOS'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8c7cb41..9e9e957 100644
--- a/Makefile
+++ b/Makefile
@@ -133,6 +133,7 @@ help:
@echo
@echo 'Development:'
@echo ' check - run the test suite for all applets'
+ @echo ' checkhelp - check for missing help-entries in Config.in'
@echo ' randconfig - generate a random configuration'
@echo ' release - create a distribution tarball'
@echo ' sizes - show size of all enabled busybox symbols'
@@ -350,6 +351,10 @@ check test: busybox
bindir=$(top_builddir) srcdir=$(top_srcdir)/testsuite \
$(top_srcdir)/testsuite/runtest $(CHECK_VERBOSE)
+.PHONY: checkhelp
+checkhelp:
+ $(Q)$(top_srcdir)/scripts/checkhelp.awk \
+ $(wildcard $(patsubst %,%/Config.in,$(SRC_DIRS) ./))
.PHONY: sizes
sizes: busybox_unstripped
$(NM) --size-sort $(<)