aboutsummaryrefslogtreecommitdiffstats
path: root/chapter5/linux-api-headers.sh
blob: 41d7cfc3445bd361f02a7e1185e323227608b547 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
set -e

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