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