r5188 - in branches/cross-lfs/BOOK: . temp-system

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Fri May 6 13:50:23 PDT 2005


Author: jhuntwork
Date: 2005-05-06 14:50:22 -0600 (Fri, 06 May 2005)
New Revision: 5188

Modified:
   branches/cross-lfs/BOOK/Makefile
   branches/cross-lfs/BOOK/temp-system/gcc.xml
Log:
Adjusted startfile prefix command in temp gcc

Modified: branches/cross-lfs/BOOK/Makefile
===================================================================
--- branches/cross-lfs/BOOK/Makefile	2005-05-06 19:39:22 UTC (rev 5187)
+++ branches/cross-lfs/BOOK/Makefile	2005-05-06 20:50:22 UTC (rev 5188)
@@ -5,11 +5,12 @@
 XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
 ARCH=x86
 
-lfs:
-# top-level index.html
+lfs: toplevel x86 sparc ppc common
+
+toplevel:
 	xsltproc --nonet --output $(BASEDIR)/index.html stylesheets/top-index.xsl prologue/bookinfo.xml
 
-# x86
+x86: 
 	xsltproc --xinclude --nonet -stringparam profile.condition html -stringparam profile.arch x86 \
 	  -stringparam chunk.quietly $(CHUNK_QUIET)  -stringparam base.dir $(BASEDIR)/x86/ \
 		stylesheets/lfs-chunked.xsl index.xml
@@ -29,7 +30,7 @@
 	cd $(BASEDIR)/x86/; sed -i -e "s at ../images at images@g" \
 	  *.html
 
-# sparc
+sparc: 
 	xsltproc --xinclude --nonet -stringparam profile.condition html -stringparam profile.arch sparc \
 	  -stringparam chunk.quietly $(CHUNK_QUIET)  -stringparam base.dir $(BASEDIR)/sparc/ \
 		stylesheets/lfs-chunked.xsl index.xml
@@ -49,7 +50,7 @@
 	cd $(BASEDIR)/sparc/; sed -i -e "s at ../images at images@g" \
 	  *.html
 
-# ppc
+ppc:
 	xsltproc --xinclude --nonet -stringparam profile.condition html -stringparam profile.arch ppc \
 	  -stringparam chunk.quietly $(CHUNK_QUIET)  -stringparam base.dir $(BASEDIR)/ppc/ \
 		stylesheets/lfs-chunked.xsl index.xml
@@ -89,7 +90,7 @@
 #	cd $(BASEDIR)/raq2/; sed -i -e "s at ../images at images@g" \
 #	  *.html
 
-# common stuff
+common:
 	for filename in `find $(BASEDIR) -name "*.html"`; do \
 	  tidy -config tidy.conf $$filename; \
 	  true; \
@@ -174,3 +175,4 @@
 # clean-up
 	rm index-x86.xml index-sparc.xml index-ppc.xml index-raq2.xml
 
+.PHONY: lfs toplevel x86 sparc ppc html pdf nochunks validate

Modified: branches/cross-lfs/BOOK/temp-system/gcc.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/gcc.xml	2005-05-06 19:39:22 UTC (rev 5187)
+++ branches/cross-lfs/BOOK/temp-system/gcc.xml	2005-05-06 20:50:22 UTC (rev 5188)
@@ -43,10 +43,18 @@
 <para>Now we will need to setup our StartFile Spec to the correct library
 location:</para>
 
-<screen><userinput>echo "
+<screen arch="x86;raq2;"><userinput>echo "
 #undef STARTFILE_PREFIX_SPEC
 #define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" >> gcc/config/linux.h</userinput></screen>
 
+<screen arch="sparc"><userinput>echo "
+#undef STARTFILE_PREFIX_SPEC
+#define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" >> gcc/config/sparc/linux.h</userinput></screen>
+ 
+<screen arch="ppc"><userinput>echo "
+#undef STARTFILE_PREFIX_SPEC  
+#define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" >> gcc/config/rs6000/linux.h</userinput></screen>
+
 <para>Now we will change cpp's search path not to look in /usr/include:</para>
 
 <screen><userinput>sed -i '/#define STANDARD_INCLUDE_DIR/s@"/usr/include"@0 at g' gcc/cppdefault.c</userinput></screen>




More information about the lfs-book mailing list