2 # Make busybox links list file.
4 CONFIG_H=${1:-Config.h}
5 APPLETS_H=${2:-applets.h}
6 gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H |
8 match($2,"_BB_DIR[A-Z_]*")
9 dir=substr($2,RSTART+7,RLENGTH-7)
11 if(dir=="/ROOT") dir=""
14 if (file=="busybox") next
15 print tolower(dir) "/" file