#!/bin/bash set -o errexit # 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} ${HVMAKE} mrproper ${HVMAKE} ARCH=${CLFS_ARCH} headers_check ${HVMAKE} ARCH=${CLFS_ARCH} INSTALL_HDR_PATH=dest headers_install install -dv /tools/include cp -rv dest/include/* /tools/include exit $?