1999-10-06 10:51:54 +05:30
|
|
|
#!/bin/sh
|
2000-03-17 06:42:41 +05:30
|
|
|
|
2001-03-09 03:12:11 +05:30
|
|
|
export LC_ALL=POSIX
|
|
|
|
export LC_CTYPE=POSIX
|
|
|
|
|
2000-12-02 01:25:04 +05:30
|
|
|
RAW=` \
|
|
|
|
gcc -E -dM ${1:-Config.h} | \
|
2000-03-17 06:42:41 +05:30
|
|
|
sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \
|
2000-12-26 22:06:10 +05:30
|
|
|
| tr A-Z a-z | sort
|
2000-12-02 01:25:04 +05:30
|
|
|
`
|
2000-12-12 22:25:56 +05:30
|
|
|
test "${RAW}" != "" || exit
|
2001-05-01 21:54:32 +05:30
|
|
|
if [ -d "$BB_SRC_DIR" ]; then cd $BB_SRC_DIR; fi
|
2001-02-17 06:12:47 +05:30
|
|
|
# By running $RAW through "ls", we avoid listing
|
|
|
|
# source files that don't exist.
|
|
|
|
ls $RAW 2>/dev/null | tr '\n' ' '
|
2000-03-17 06:42:41 +05:30
|
|
|
|