comparison host-tools.sh @ 508:909a4921273d

Move genext2fs build to host-tools, remove dead code, add comments.
author Rob Landley <rob@landley.net>
date Sun, 30 Nov 2008 06:20:35 -0600
parents 3fe5916931e5
children 8d2b9cd1a52e
comparison
equal deleted inserted replaced
507:58e9523a775d 508:909a4921273d
145 else 145 else
146 ln -s "$(which distccd)" "${HOSTTOOLS}"/distccd 146 ln -s "$(which distccd)" "${HOSTTOOLS}"/distccd
147 fi 147 fi
148 fi 148 fi
149 149
150 # If the host system hasn't got genext2fs, build it. We use it to build the
151 # ext2 image to boot qemu with in package-mini-native.sh.
152
153 if [ -z "$(which genext2fs)" ]
154 then
155 setupfor genext2fs &&
156 ./configure &&
157 make -j $CPUS &&
158 cp genext2fs "${HOSTTOOLS}" &&
159 cd ..
160
161 cleanup genext2fs
162 fi
163
150 # Everything after here is stuff we _could_ build, but currently don't. 164 # Everything after here is stuff we _could_ build, but currently don't.
151 165
152 # Build squashfs 166 # Build squashfs
153 #setupfor squashfs 167 #setupfor squashfs
154 #cd squashfs-tools && 168 #cd squashfs-tools &&