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 [[ "${PROGNAME}" = "lfs" ]] || [[ "${PROGNAME}" = "hlfs" ]] ; then
+ if [[ "${PROGNAME}" = "lfs" ]] || [[ "${PROGNAME}" = "hlfs" ]] || [[
"${PROGNAME}" = "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-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page