2 # Make busybox links list file.
4 # input $1: full path to Config.h
5 # input $2: full path to applets.h
6 # output (stdout): list of pathnames that should be linked to busybox
8 # Maintainer: Larry Doolittle <ldoolitt@recycle.lbl.gov>
13 CONFIG_H=${1:-Config.h}
14 APPLETS_H=${2:-applets.h}
15 gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H |
19 if(dir=="/ROOT") dir=""
22 if (file=="busybox") next
23 print tolower(dir) "/" file