bindir=$(objtree) srcdir=$(srctree)/testsuite SED="$(SED)" \
$(SHELL) $(srctree)/testsuite/runtest $(if $(KBUILD_VERBOSE:1=),-v)
-### checkhelp:
-### $(Q)$(srctree)/scripts/checkhelp.awk \
-### $(wildcard $(patsubst %,%/Config.in,$(SRC_DIRS) ./))
+.PHONY: checkhelp
+checkhelp:
+ $(Q)$(srctree)/scripts/checkhelp.awk \
+ $(patsubst %,$(srctree)/%,$(wildcard $(patsubst %,%/Config.in,$(busybox-dirs) ./)))
.PHONY: sizes
sizes: busybox_unstripped
help[pos] = 0;
}
}
-/^[[:space:]]*help[[:space:]]*$/ {
+/^[ \t]*help[ \t]*$/ {
help[pos] = 1;
}
-/^[[:space:]]*bool[[:space:]]*$/ {
+/^[ \t]*bool[ \t]*$/ {
help[pos] = 1; # ignore options which are not selectable
}
BEGIN {
is_choice = 0;
}
END {
- for (i = 0; i < pos; i++) {
-# printf("%s: help for #%i '%s' == %i\n", file[i], i, conf[i], help[i]);
+ for (i = 0; i <= pos; i++) {
+# printf("%s: help for #%i '%s' == %i\n", file[i], i, conf[i], help[i]);
if (help[i] == 0) {
printf("%s: No helptext for '%s'\n", file[i], conf[i]);
}