Changeset fd7455c for LFS


Ignore:
Timestamp:
10/01/2006 10:49:13 AM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
f5791f0
Parents:
4fb2c33
Message:

Added blfs-tool dependencies targets to LFS builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    r4fb2c33 rfd7455c  
    373373  [[ "$COMPARE" = "y" ]] && wrt_compare_targets
    374374  chapter789_Makefiles
     375  # Add the BLFS_TOOL targets, if needed
     376  [[ "$BLFS_TOOL" = "y" ]] && wrt_blfs_tool_targets
    375377
    376378  # Add a header, some variables and include the function file
     
    435437    cat << EOF
    436438
    437 all:    ck_UID mk_SETUP mk_LUSER mk_SUDO mk_CHROOT mk_BOOT create-sbu_du-report
     439all:    ck_UID mk_SETUP mk_LUSER mk_SUDO mk_CHROOT mk_BOOT create-sbu_du-report mk_BLFS_TOOL
    438440        @sudo make do_housekeeping
    439441        @\$(call echo_finished,$VERSION)
     
    582584  else echo -e "\t@true\n\n" >> $MKFILE; fi
    583585
     586  # Add BLFS_TOOL targets
     587  echo "mk_BLFS_TOOL:" >> $MKFILE
     588  if [[ "$BLFS_TOOL" = "y" ]] ; then
     589(
     590    cat << EOF
     591        @\$(call echo_CHROOT_request)
     592        @ sudo mkdir $BUILDDIR$TRACKING_DIR
     593        @( sudo \$(CHROOT2) "cd \$(SCRIPT_ROOT) && make BLFS_TOOL")
     594        @touch \$@
     595
     596BLFS_TOOL:  $blfs_tool
     597
     598
     599EOF
     600) >> $MKFILE
     601  else echo -e "\t@true\n\n" >> $MKFILE; fi
     602
    584603  # Bring over the items from the Makefile.tmp
    585604  cat $MKFILE.tmp >> $MKFILE
Note: See TracChangeset for help on using the changeset viewer.