#!/bin/sh # Reading system configuration informations, functions and package versions. source ../sysinfos source ../functions source ../packages-list # Applying patches (if any) apply_patches ${1} && cd ${LFS_TMP}/${1} && sed -i 's@/usr/include@/tools/include@g' configure && ./configure && make -j ${MAKEJOBS} -C lib && make -j ${MAKEJOBS} -C mount mount umount && make -j ${MAKEJOBS} -C text-utils more && cp mount/{mount,umount} text-utils/more /tools/bin # Return last error exit $?