diff options
| author | Eric Andersen <andersen@codepoet.org> | 2001-10-24 07:58:02 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2001-10-24 07:58:02 +0000 |
| commit | 3cd2760ba1b235f3ead9feaaa1d3c41def3fb3bc (patch) | |
| tree | d1aa8310f145b546b4f791c09f39f953959739ff /applets | |
| parent | b36e684fd7dc7d66f64eac9e4215029823586999 (diff) | |
| download | busybox-w32-3cd2760ba1b235f3ead9feaaa1d3c41def3fb3bc.tar.gz busybox-w32-3cd2760ba1b235f3ead9feaaa1d3c41def3fb3bc.tar.bz2 busybox-w32-3cd2760ba1b235f3ead9feaaa1d3c41def3fb3bc.zip | |
Fixup the new buildsystem a bit.
Diffstat (limited to 'applets')
| -rwxr-xr-x | applets/busybox.mkll | 4 | ||||
| -rwxr-xr-x | applets/busybox.sh | 16 |
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 @@ | |||
| 10 | export LC_ALL=POSIX | 10 | export LC_ALL=POSIX |
| 11 | export LC_CTYPE=POSIX | 11 | export LC_CTYPE=POSIX |
| 12 | 12 | ||
| 13 | CONFIG_H=${1:-Config.h} | 13 | CONFIG_H=${1:-include/config.h} |
| 14 | APPLETS_H=${2:-applets.h} | 14 | APPLETS_H=${2:-include/applets.h} |
| 15 | gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H | | 15 | gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H | |
| 16 | awk '/^[ \t]*LINK/{ | 16 | awk '/^[ \t]*LINK/{ |
| 17 | dir=substr($2,8) | 17 | 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 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | export LC_ALL=POSIX | ||
| 4 | export LC_CTYPE=POSIX | ||
| 5 | |||
| 6 | RAW=` \ | ||
| 7 | $CC -E -dM ${1:-Config.h} | \ | ||
| 8 | sed -n -e '/^.*CONFIG_FEATURE.*$/d;s/^#define.*\<CONFIG_\(.*\)\>/\1.c/gp;' \ | ||
| 9 | | tr A-Z a-z | sort | ||
| 10 | ` | ||
| 11 | test "${RAW}" != "" || exit | ||
| 12 | if [ -d "$CONFIG_SRC_DIR" ]; then cd $CONFIG_SRC_DIR; fi | ||
| 13 | # By running $RAW through "ls", we avoid listing | ||
| 14 | # source files that don't exist. | ||
| 15 | ls $RAW 2>/dev/null | tr '\n' ' ' | ||
| 16 | |||
