aboutsummaryrefslogtreecommitdiffstats
path: root/chapter5/linux-api-headers.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-03-18 11:16:49 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-03-18 11:16:49 -0500
commitbbf8c8d4222a70ea1228f0ec974c6e2f0510f5b2 (patch)
treed0c8e04aeee32b4a003f8f5279caa99de221510c /chapter5/linux-api-headers.sh
parent5a0d563dfe209f2be5d2555fccd4613accbc1249 (diff)
Add Chapter 5 build scripts for binutils, gcc, glibc, libstdc++ and linux-api-headers.
Diffstat (limited to 'chapter5/linux-api-headers.sh')
-rw-r--r--chapter5/linux-api-headers.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/chapter5/linux-api-headers.sh b/chapter5/linux-api-headers.sh
new file mode 100644
index 0000000..30383a8
--- /dev/null
+++ b/chapter5/linux-api-headers.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+make mrproper &&
+make headers &&
+find usr/include -name '.*' -delete &&
+rm usr/include/Makefile &&
+cp -rv usr/include ${LFS}/usr \ No newline at end of file