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-3cd2760ba1b235f3ead9feaaa1d3c41def3fb3bc.tar.gz |
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 @@ 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' ' ' - |