#!/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} && make -j ${MAKEJOBS} mrproper && make -j ${MAKEJOBS} headers_check && make INSTALL_HDR_PATH=dest headers_install && cp -r -v dest/include/* /tools/include # Return last error exit $?