aboutsummaryrefslogtreecommitdiffstats
path: root/chapter5/linux-api-headers.sh
blob: 31116250f5b6948cda3c448bcd9cbc7da9bed56f (plain)
1
2
3
4
5
6
7
#!/bin/bash

make mrproper &&
make headers &&
find usr/include -name '.*' -delete &&
rm usr/include/Makefile &&
cp -rv usr/include "${LFS}"/usr