Mercurial > hg > aboriginal
comparison host-tools.sh @ 259:754717ecf40b
Have host tools build all the busybox tools which A) the build actually
uses), B) which aren't supplied by toybox, C) which aren't too broken to use.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 24 Jan 2008 03:48:19 -0600 |
parents | e005f4279b36 |
children | b2e353ae7566 |
comparison
equal
deleted
inserted
replaced
258:863e15b54e17 | 259:754717ecf40b |
---|---|
14 | 14 |
15 #rm -rf "${HOSTTOOLS}" | 15 #rm -rf "${HOSTTOOLS}" |
16 mkdir -p "${HOSTTOOLS}" || dienow | 16 mkdir -p "${HOSTTOOLS}" || dienow |
17 | 17 |
18 # Build busybox | 18 # Build busybox |
19 #if [ ! -f "$(which busybox)" ] | 19 if [ -z "$(which busybox)" ] |
20 #then | 20 then |
21 # setupfor busybox && | 21 setupfor busybox && |
22 # make defconfig && | 22 cp "${SOURCES}/config-busybox" .config && |
23 # make && | 23 yes "" | make oldconfig && |
24 # cp busybox "${HOSTTOOLS}" && | 24 make && |
25 # for i in $(sed 's@.*/@@' busybox.links) | 25 cp busybox "${HOSTTOOLS}" && |
26 # do | 26 for i in $(sed 's@.*/@@' busybox.links) |
27 # ln -s busybox "${HOSTTOOLS}"/$i | 27 do |
28 # done | 28 ln -s busybox "${HOSTTOOLS}"/$i |
29 # rm "${HOSTTOOLS}"/{ar,find} | 29 done |
30 #fi | 30 rm "${HOSTTOOLS}"/{ar,find} |
31 fi | |
31 | 32 |
32 # Build toybox | 33 # Build toybox |
33 if [ ! -f "$(which toybox)" ] | 34 if [ -z "$(which toybox)" ] |
34 then | 35 then |
35 setupfor toybox && | 36 setupfor toybox && |
36 make defconfig && | 37 make defconfig && |
37 make && | 38 make && |
38 make instlist && | 39 make instlist && |