r3144 - jhalfs/branches/experimental/LFS

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sun Oct 1 03:49:14 PDT 2006


Author: manuel
Date: 2006-10-01 04:49:13 -0600 (Sun, 01 Oct 2006)
New Revision: 3144

Modified:
   jhalfs/branches/experimental/LFS/master.sh
Log:
Added blfs-tool dependencies targets to LFS builds.

Modified: jhalfs/branches/experimental/LFS/master.sh
===================================================================
--- jhalfs/branches/experimental/LFS/master.sh	2006-10-01 10:46:45 UTC (rev 3143)
+++ jhalfs/branches/experimental/LFS/master.sh	2006-10-01 10:49:13 UTC (rev 3144)
@@ -372,6 +372,8 @@
   # Add the iterations targets, if needed
   [[ "$COMPARE" = "y" ]] && wrt_compare_targets
   chapter789_Makefiles
+  # Add the BLFS_TOOL targets, if needed
+  [[ "$BLFS_TOOL" = "y" ]] && wrt_blfs_tool_targets
 
   # Add a header, some variables and include the function file
   # to the top of the real Makefile.
@@ -434,7 +436,7 @@
 (
     cat << EOF
 
-all:	ck_UID mk_SETUP mk_LUSER mk_SUDO mk_CHROOT mk_BOOT create-sbu_du-report
+all:	ck_UID mk_SETUP mk_LUSER mk_SUDO mk_CHROOT mk_BOOT create-sbu_du-report mk_BLFS_TOOL
 	@sudo make do_housekeeping
 	@\$(call echo_finished,$VERSION)
 
@@ -581,6 +583,23 @@
 ) >> $MKFILE
   else echo -e "\t at true\n\n" >> $MKFILE; fi
 
+  # Add BLFS_TOOL targets
+  echo "mk_BLFS_TOOL:" >> $MKFILE
+  if [[ "$BLFS_TOOL" = "y" ]] ; then
+(
+    cat << EOF
+	@\$(call echo_CHROOT_request)
+	@ sudo mkdir $BUILDDIR$TRACKING_DIR
+	@( sudo \$(CHROOT2) "cd \$(SCRIPT_ROOT) && make BLFS_TOOL")
+	@touch \$@
+
+BLFS_TOOL:  $blfs_tool
+
+
+EOF
+) >> $MKFILE
+  else echo -e "\t at true\n\n" >> $MKFILE; fi
+
   # Bring over the items from the Makefile.tmp
   cat $MKFILE.tmp >> $MKFILE
   rm $MKFILE.tmp




More information about the alfs-log mailing list