aboutsummaryrefslogtreecommitdiff
path: root/busybox.sh
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-03-16 08:09:09 +0000
committerErik Andersen <andersen@codepoet.org>2000-03-16 08:09:09 +0000
commitd75af99529879e6cd38164fd110732052a9cdda4 (patch)
tree3a6e672d0b0d5104cc3c33f65b20fdaacd365c2e /busybox.sh
parenta967e3c8f004d9d613e2f531a3bf7869f2e68b90 (diff)
downloadbusybox-d75af99529879e6cd38164fd110732052a9cdda4.tar.gz
Major build system updates...
-Erik
Diffstat (limited to 'busybox.sh')
-rwxr-xr-xbusybox.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/busybox.sh b/busybox.sh
index cab248f11..304ac87e7 100755
--- a/busybox.sh
+++ b/busybox.sh
@@ -1,4 +1,3 @@
#!/bin/sh
-ls -1 `sed -n '/^#define/{s/.*BB_// ; s/$/.c/p; }' busybox.def.h | \
-tr [:upper:] [:lower:]` 2> /dev/null | sed -e 's/\.c$/\.o/g'
-
+sed -n -e 's/^#define.*BB_FEATURE.*$//g;y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/;' \
+ -e '/^#define/{s/.*bb_//;s/$/.o/p;}' busybox.def.h