Opened 10 years ago

Closed 10 years ago

#927 closed task (fixed)

Linux headers should not go into the final file system

Reported by: Andrew Bradford Owned by: Andrew Bradford
Priority: major Milestone: CLFS Embedded 1.0.0
Component: BOOK Version: CLFS Embedded GIT
Keywords: Cc:


Currently we install Linux headers into the final file system at $CLFS/usr/include rather than just into the $CLFS/cross-tools/include or similar dir. This is not needed and takes up space in the final system with a bunch of headers that won't ever need to be there.

Main CLFS installs kernel headers into /tools/include and then tells gcc about it with --with-native-system-header-dir=/tools/include. We should do that, too (or something like it).

EGLIBC then gets told where to find the headers, too, with --with-headers=/tools/include

Change History (2)

comment:1 Changed 10 years ago by Andrew Bradford

Owner: changed from clfs-commits@… to Andrew Bradford
Status: newassigned

comment:2 Changed 10 years ago by Andrew Bradford

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.