r3526 - in jhalfs/trunk: LFS common/libs

georgeb at linuxfromscratch.org georgeb at linuxfromscratch.org
Sat Dec 6 07:05:59 PST 2008


Author: georgeb
Date: 2008-12-06 08:05:59 -0700 (Sat, 06 Dec 2008)
New Revision: 3526

Modified:
   jhalfs/trunk/LFS/master.sh
   jhalfs/trunk/common/libs/func_check_version.sh
Log:
LFS has new build method. Added new vars to LFS/master.sh (JHuntwork)

Modified: jhalfs/trunk/LFS/master.sh
===================================================================
--- jhalfs/trunk/LFS/master.sh	2008-11-04 02:46:27 UTC (rev 3525)
+++ jhalfs/trunk/LFS/master.sh	2008-12-06 15:05:59 UTC (rev 3526)
@@ -52,8 +52,9 @@
 	echo "umask 022" >> \$(LUSER_HOME)/.bashrc && \\
 	echo "LFS=\$(MOUNT_PT)" >> \$(LUSER_HOME)/.bashrc && \\
 	echo "LC_ALL=POSIX" >> \$(LUSER_HOME)/.bashrc && \\
+	echo "LFS_TGT=`uname -m`-lfs-linux-gnu" >> \$(LUSER_HOME)/.bashrc && \\
 	echo "PATH=/tools/bin:/bin:/usr/bin" >> \$(LUSER_HOME)/.bashrc && \\
-	echo "export LFS LC_ALL PATH" >> \$(LUSER_HOME)/.bashrc && \\
+	echo "export LFS LC_ALL LFS_TGT PATH" >> \$(LUSER_HOME)/.bashrc && \\
 	echo "source $JHALFSDIR/envars" >> \$(LUSER_HOME)/.bashrc && \\
 	chown \$(LUSER):\$(LGROUP) \$(LUSER_HOME)/.bashrc && \\
 	touch envars && \\

Modified: jhalfs/trunk/common/libs/func_check_version.sh
===================================================================
--- jhalfs/trunk/common/libs/func_check_version.sh	2008-11-04 02:46:27 UTC (rev 3525)
+++ jhalfs/trunk/common/libs/func_check_version.sh	2008-12-06 15:05:59 UTC (rev 3526)
@@ -84,7 +84,7 @@
   # LFS/HLFS/CLFS prerequisites
   check_version "2.6.2"   "`uname -r`"          "KERNEL"
   check_version "3.0"     "$BASH_VERSION"       "BASH"
-  check_version "3.0.1"   "`gcc -dumpversion`"  "GCC"
+  check_version "3.0.1"   "`gcc -dumpversion`"  "GCC"  
   libcVer="`/lib/libc.so.6 | head -n1`"
   libcVer="${libcVer##*version }"
   check_version "2.2.5"   ${libcVer%%,*}        "GLIBC"




More information about the alfs-log mailing list