aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-09-01 19:27:12 +0800
committerXi Ruoyao <xry111@xry111.site>2022-09-01 19:27:12 +0800
commitc6df98a1177511b80172a2a10ad62733e33ac638 (patch)
tree7c11ce32284fe3a0dd244b1a5b660d8b6f7e61ca /chapter05
parentbbd634641761f4f83b49908ecc0daa9fa02d9e21 (diff)
parentbaecd49c4865de67ddddab00469a093bec18c904 (diff)
Merge remote-tracking branch 'origin/trunk' into xry111/arm64
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/linux-headers.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/chapter05/linux-headers.xml b/chapter05/linux-headers.xml
index 24415bf55..09fedf835 100644
--- a/chapter05/linux-headers.xml
+++ b/chapter05/linux-headers.xml
@@ -59,8 +59,7 @@
location.</para>
<screen><userinput remap="make">make headers
-find usr/include -name '.*' -delete
-rm usr/include/Makefile
+find usr/include -type f ! -name '*.h' -delete
</userinput><userinput remap="install">cp -rv usr/include $LFS/usr</userinput></screen>
</sect2>