List Info

Thread: clfs 1.x now uses direct kernel headers.




clfs 1.x now uses direct kernel headers.
country flaguser name
Canada
2007-11-07 00:29:48
I made a tiny adjustment to the jhalfs tool so that it would
build the
current CLFS SVN. This, however, will break things for CLFS
1.0 as it
is still using the sanitized headers from the cross-lfs
project. Here
is the simple fix if you don't mind that it breaks the
stable book build
from SVN JHALFS. I'm sure there's a better fix but I just
did a quick hack.

Index: func_wrt_Makefile
============================================================
=======
--- func_wrt_Makefile	(revision 3512)
+++ func_wrt_Makefile	(working copy)
 -80,7
+80,7 
          fi
          ;;
      linux-headers)
-         if [[ "$" = "lfs" ]]
|| [[ "$" = "hlfs" ]] ; then
+         if [[ "$" = "lfs" ]]
|| [[ "$" = "hlfs" ]] || [[
"$" = "clfs" ]] ; then
            # Uses kernel headers directly
            echo $(grep "^linux-[[:digit:]]"
$JHALFSDIR/pkg_tarball_list | head -n1 )
          else

 I didn't figure it was worth hitting the attachment button
for a one line fix.
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )