aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Labastie <pierre.labastie@neuf.fr>2022-08-31 21:32:18 +0200
committerPierre Labastie <pierre.labastie@neuf.fr>2022-08-31 21:32:18 +0200
commit04ab8f12ced4dee486d7666db9a04c4dbe37d207 (patch)
tree59c28ef7ae70a32da3a337a0e4a96d86c00478a7
parent45aee9aca28ce617182e008cbbd1bae6cc5b9011 (diff)
Remove all non header files in linux headers11.2
Report by Joe Locash that a perl script was left in /usr/include with our current instructions
-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>