summaryrefslogtreecommitdiff
path: root/busybox.mkll
diff options
context:
space:
mode:
Diffstat (limited to 'busybox.mkll')
-rwxr-xr-xbusybox.mkll6
1 files changed, 5 insertions, 1 deletions
diff --git a/busybox.mkll b/busybox.mkll
index d7b9ec5..922dcdd 100755
--- a/busybox.mkll
+++ b/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)"