summaryrefslogtreecommitdiff
path: root/applets/busybox.mkll
diff options
context:
space:
mode:
Diffstat (limited to 'applets/busybox.mkll')
-rwxr-xr-xapplets/busybox.mkll6
1 files changed, 5 insertions, 1 deletions
diff --git a/applets/busybox.mkll b/applets/busybox.mkll
index d7b9ec5..922dcdd 100755
--- a/applets/busybox.mkll
+++ b/applets/busybox.mkll
@@ -2,7 +2,11 @@
# Make busybox links list file.
DF="Config.h"
-MF="applets.h"
+
+MF=$1
+if [ "$MF" = "" ]; then
+ MF="applets.h"
+fi
LIST="$(gcc -E -dM $DF | sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/BB_\1/gp;' | sort)"