Upgrade to Linux-2.6.18

Greg Schafer gschafer at zip.com.au
Fri Nov 24 19:06:05 PST 2006

Jeremy Huntwork wrote:

> Have you actually studied the Makefile contents? The results of the 
> current commands would be the same as if you ran (which, btw, would also 
> avoid the problem with removing /tools/include):
> make mrproper
> make headers_check
> make headers_install
> cp -av usr/include/* /tools/include

Dude, you're still not getting it. Not sure why I'm even bothering but
I'll give it one last shot..

The changes you made are roughly analogous to modifying, say, the m4 pkg
like this:

./configure --prefix=/usr
make check (or make install, it doesn't matter for the point I'm making)

Notice the lack of "make" ? This is (almost) exactly what you've done to
"simplify" the kernel headers installation, except in the kernel headers
case, you have used the "headers_check" target as a means of omitting the
"headers_install" target because the first depends on the second.

FFS, this whole new way of obtaining sanitized headers has become known as
the "make headers_install" method and you've gone and removed that very
command! Not very educational IMHO. Hope it's clearer now.


More information about the lfs-dev mailing list