summaryrefslogtreecommitdiff
path: root/applets/busybox.mkll
diff options
context:
space:
mode:
authorEric Andersen2000-12-01 19:55:04 +0000
committerEric Andersen2000-12-01 19:55:04 +0000
commite2f6e1221330f2944d467cad2fb630deb5ef6f0a (patch)
treef52409c3b56c1f2a5a54996dc2542c7941574e20 /applets/busybox.mkll
parent09a34e536896ecbe3e81618c7a45f9f1998bd8aa (diff)
downloadbusybox-e2f6e1221330f2944d467cad2fb630deb5ef6f0a.zip
busybox-e2f6e1221330f2944d467cad2fb630deb5ef6f0a.tar.gz
More pristine source directory updates. It now works
for me (including doing install). How about you? -Erik
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)"