aboutsummaryrefslogtreecommitdiff
path: root/busybox.sh
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-04-06 00:10:39 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-04-06 00:10:39 +0000
commit576b80c3cfd21a8f80ea92e97cd87add7b7a27f8 (patch)
tree452da337a26872bcb08b52b1a02bdd772de8bfaf /busybox.sh
parent333368e6149394013fcf0df39a2043cc058672e5 (diff)
downloadbusybox-w32-576b80c3cfd21a8f80ea92e97cd87add7b7a27f8.tar.gz
busybox-w32-576b80c3cfd21a8f80ea92e97cd87add7b7a27f8.tar.bz2
busybox-w32-576b80c3cfd21a8f80ea92e97cd87add7b7a27f8.zip
Use gcc -E instead of cpp to enhance portability for brain
damaged platforms (i.e. OpenLinux) that do not have cpp in the default path but instead hide it under /usr/lib/... -Erik git-svn-id: svn://busybox.net/trunk/busybox@432 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'busybox.sh')
-rwxr-xr-xbusybox.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/busybox.sh b/busybox.sh
index c4e241f84..5dd6e1c3d 100755
--- a/busybox.sh
+++ b/busybox.sh
@@ -3,7 +3,7 @@
3# I added in the extra "ls" so only source files that 3# I added in the extra "ls" so only source files that
4# actually exist will show up in the compile list. 4# actually exist will show up in the compile list.
5ls -1 ` \ 5ls -1 ` \
6 cpp busybox.def.h -dM | \ 6 gcc -E -dM busybox.def.h | \
7 sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \ 7 sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \
8 | tr [:upper:] [:lower:] | sort 8 | tr [:upper:] [:lower:] | sort
9` 2>/dev/null | sed -e 's/\.c$/\.o/g' 9` 2>/dev/null | sed -e 's/\.c$/\.o/g'