diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-10-24 05:00:29 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-10-24 05:00:29 +0000 |
commit | bdfd0d78bc44e73d693510e70087857785b3b521 (patch) | |
tree | 153a573095afac8d8d0ea857759ecabd77fb28b7 /busybox.mkll | |
parent | 9260fc5552a3ee52eb95823aa6689d52a1ffd33c (diff) | |
download | busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.gz busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.bz2 busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.zip |
Major rework of the directory structure and the entire build system.
-Erik
Diffstat (limited to 'busybox.mkll')
-rwxr-xr-x | busybox.mkll | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/busybox.mkll b/busybox.mkll deleted file mode 100755 index 4e15e1611..000000000 --- a/busybox.mkll +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | # Make busybox links list file. | ||
3 | |||
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 | ||
7 | |||
8 | # Maintainer: Larry Doolittle <ldoolitt@recycle.lbl.gov> | ||
9 | |||
10 | export LC_ALL=POSIX | ||
11 | export LC_CTYPE=POSIX | ||
12 | |||
13 | CONFIG_H=${1:-Config.h} | ||
14 | APPLETS_H=${2:-applets.h} | ||
15 | gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H | | ||
16 | awk '/^[ \t]*LINK/{ | ||
17 | dir=substr($2,8) | ||
18 | gsub("_","/",dir) | ||
19 | if(dir=="/ROOT") dir="" | ||
20 | file=$3 | ||
21 | gsub("\"","",file) | ||
22 | if (file=="busybox") next | ||
23 | print tolower(dir) "/" file | ||
24 | }' | ||