view sources/sections/ @ 1458:60f1087591ac

Add ability to specify a package to rebuild to with REBUILD= (and then dependencies take it from there to the system image).
author Rob Landley <>
date Thu, 20 Oct 2011 02:02:10 -0500
parents a7c9fd67ff7a
children acaa88463c0c
line wrap: on
line source

# wire around some tests ./configure can't run when cross-compiling.
echo -e "ac_cv_func_setvbuf_reversed=no\nbash_cv_sys_named_pipes=yes\nbash_cv_have_mbstate_t=yes\nbash_cv_getenv_redef=no\nac_cv_func_bindtextdomain=nyet" > config.cache &&
  ./configure --prefix="$STAGE_DIR" \
  --build="${CROSS_HOST}" --host="${CROSS_TARGET}" --cache-file=config.cache \
  --without-bash-malloc --disable-readline &&
# note: doesn't work with -j
make &&
make install &&
# Make bash the default shell.
ln -sf bash "$STAGE_DIR/bin/sh"