Bash script to build LFS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
215 B

#!/usr/bin/env bash
case $(uname -m) in
i?86)
export ARCH=x86
;;
esac
make mrproper
make headers
find usr/include -type f ! -name '*.h' -delete
cp --recursive --verbose usr/include "${LFS}"/usr