hush/busybox.sh

11 lines
306 B
Bash
Raw Normal View History

1999-10-06 05:21:54 +00:00
#!/bin/sh
2000-03-17 01:12:41 +00:00
# I added in the extra "ls" so only source files that
# actually exist will show up in the compile list.
ls -1 ` \
gcc -E -dM Config.h | \
2000-03-17 01:12:41 +00:00
sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \
| tr '[:upper:]' '[:lower:]' | sort
2000-03-17 01:12:41 +00:00
` 2>/dev/null | sed -e 's/\.c$/\.o/g'