218 } |
218 } |
219 |
219 |
220 |
220 |
221 # generate vars.mk |
221 # generate vars.mk |
222 cat > "$TEMP_DIR/vars.mk" << __EOF__ |
222 cat > "$TEMP_DIR/vars.mk" << __EOF__ |
223 prefix="$prefix" |
223 prefix=$prefix |
224 exec_prefix="$exec_prefix" |
224 exec_prefix=$exec_prefix |
225 bindir="$bindir" |
225 bindir=$bindir |
226 sbindir="$sbindir" |
226 sbindir=$sbindir |
227 libdir="$libdir" |
227 libdir=$libdir |
228 libexecdir="$libexecdir" |
228 libexecdir=$libexecdir |
229 datarootdir="$datarootdir" |
229 datarootdir=$datarootdir |
230 datadir="$datadir" |
230 datadir=$datadir |
231 sysconfdir="$sysconfdir" |
231 sysconfdir=$sysconfdir |
232 sharedstatedir="$sharedstatedir" |
232 sharedstatedir=$sharedstatedir |
233 localstatedir="$localstatedir" |
233 localstatedir=$localstatedir |
234 runstatedir="$runstatedir" |
234 runstatedir=$runstatedir |
235 includedir="$includedir" |
235 includedir=$includedir |
236 infodir="$infodir" |
236 infodir=$infodir |
237 mandir="$mandir" |
237 mandir=$mandir |
238 localedir="$localedir" |
238 localedir=$localedir |
239 HOST="$HOST" |
239 HOST=$HOST |
240 prefix="$prefix" |
240 prefix=$prefix |
241 install_dir="$install_dir" |
241 install_dir=$install_dir |
242 __EOF__ |
242 __EOF__ |
243 |
243 |
244 # toolchain detection utilities |
244 # toolchain detection utilities |
245 . make/toolchain.sh |
245 . make/toolchain.sh |
246 |
246 |