aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
Diffstat (limited to 'applets')
-rwxr-xr-xapplets/busybox.mkll4
-rwxr-xr-xapplets/busybox.sh16
2 files changed, 2 insertions, 18 deletions
diff --git a/applets/busybox.mkll b/applets/busybox.mkll
index 4e15e1611..5b6677d03 100755
--- a/applets/busybox.mkll
+++ b/applets/busybox.mkll
@@ -10,8 +10,8 @@
export LC_ALL=POSIX
export LC_CTYPE=POSIX
-CONFIG_H=${1:-Config.h}
-APPLETS_H=${2:-applets.h}
+CONFIG_H=${1:-include/config.h}
+APPLETS_H=${2:-include/applets.h}
gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H |
awk '/^[ \t]*LINK/{
dir=substr($2,8)
diff --git a/applets/busybox.sh b/applets/busybox.sh
deleted file mode 100755
index 6ac4e8043..000000000
--- a/applets/busybox.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-export LC_ALL=POSIX
-export LC_CTYPE=POSIX
-
-RAW=` \
- $CC -E -dM ${1:-Config.h} | \
- sed -n -e '/^.*CONFIG_FEATURE.*$/d;s/^#define.*\<CONFIG_\(.*\)\>/\1.c/gp;' \
- | tr A-Z a-z | sort
-`
-test "${RAW}" != "" || exit
-if [ -d "$CONFIG_SRC_DIR" ]; then cd $CONFIG_SRC_DIR; fi
-# By running $RAW through "ls", we avoid listing
-# source files that don't exist.
-ls $RAW 2>/dev/null | tr '\n' ' '
-