Upgrade to Linux-2.6.18

Greg Schafer gschafer at zip.com.au
Fri Nov 24 17:54:54 PST 2006


Jeremy Huntwork wrote:

> Actually, after looking through the Linux Makefile a bit, I think our 
> commands for chapter 5 linux-headers can be simplified to the following:
> 
> patch -Np1 -i ../linux-2.6.18.1-unifdef-1.patch
> make mrproper
> make headers_check
> cp -Rv usr/include/* /tools/include
> 
> This is because the target 'headers_check' includes 'headers_install' as 
> a dependency, and therefore runs that first:

You're obfuscating here for no good reason. In fact, your logic is flawed.
Taking your view to extremes, why even specify "make" when for the vast
majority of pkgs, "make install" depends on "make" ? You could simplify
the build immensely! See? It's silly.

Regards
Greg
-- 
http://www.diy-linux.org/




More information about the lfs-dev mailing list