view images/lfs-bootstrap/mnt/build/ @ 0:bcd2e358d57f

Start by copying the existing control image building infrastructure from Aboriginal Linux, and shuffling the layout around a bit.
author Rob Landley <>
date Sun, 03 Jul 2011 17:23:26 -0500
children 84b321099814
line wrap: on
line source


# zlib 1.2.5 accidentally shipped a generated file, which it then tries to
# overwrite in-place.  This doesn't work so well on a read only filesystem.

rm -f Makefile &&

# Fix another bug.

sed -i 's/ifdef _LARGEFILE64_SOURCE/ifndef _LARGEFILE64_SOURCE/' zlib.h &&

# Otherwise, standard build

./configure --prefix=/usr &&
make -j $CPUS || exit 1

if [ ! -z "$CHECK" ]
  make check || exit 1

make install