Changeset 3e7ceed for CLFS


Ignore:
Timestamp:
12/15/2006 10:53:10 AM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
fcb540b
Parents:
830f28d
Message:

Ported CUSTOM_TOOLS support to all books.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLFS/master.sh

    r830f28d r3e7ceed  
    732732  bootable_Makefiles             # mk_BOOTABLE   (CHROOT) $bootabletools
    733733
     734  # Add the CUSTOM_TOOLS targets, if needed
     735  [[ "$CUSTOM_TOOLS" = "y" ]] && wrt_CustomTools_target
    734736  # Add the BLFS_TOOL targets, if needed
    735737  [[ "$BLFS_TOOL" = "y" ]] && wrt_blfs_tool_targets
     
    765767cat << EOF
    766768
    767 all: ck_UID mk_SETUP mk_CROSS mk_SUDO mk_SYSTOOLS create-sbu_du-report mk_BLFS_TOOL
     769all: ck_UID mk_SETUP mk_CROSS mk_SUDO mk_SYSTOOLS create-sbu_du-report mk_CUSTOM_TOOLS mk_BLFS_TOOL
    768770        @sudo make do-housekeeping
    769771        @echo "$VERSION - jhalfs build" > clfs-release && \\
     
    816818        @touch \$@
    817819
    818 mk_BLFS_TOOL: create-sbu_du-report
    819         @\$(call echo_PHASE,Building BLFS-TOOLS)
     820mk_CUSTOM_TOOLS: create-sbu_du-report
     821        @if [ "\$(ADD_CUSTOM_TOOLS)" = "y" ]; then \\
     822          \$(call echo_PHASE,Building CUSTOM_TOOLS); \\
     823          \$(call echo_CHROOT_request); \\
     824          sudo mkdir -p ${BUILDDIR}${TRACKING_DIR}; \\
     825          (sudo \$(CHROOT1) "cd \$(SCRIPT_ROOT) && make CUSTOM_TOOLS"); \\
     826        fi;
     827        @touch \$@
     828
     829mk_BLFS_TOOL: mk_CUSTOM_TOOLS
    820830        @if [ "\$(ADD_BLFS_TOOLS)" = "y" ]; then \\
     831          \$(call echo_PHASE,Building BLFS_TOOL); \\
     832          \$(call echo_CHROOT_request); \\
    821833          sudo mkdir -p $BUILDDIR$TRACKING_DIR; \\
    822834          sudo \$(CHROOT1) "cd \$(SCRIPT_ROOT) && make BLFS_TOOL"; \\
     
    824836        @touch \$@
    825837
    826 SETUP:       $host_prep
    827 AS_LUSER:    $cross_tools $temptools
    828 SUDO:        $orphan_scripts
    829 CHROOT_JAIL: ${chroottools} $testsuitetools $basicsystem  $bootscripttools  $bootabletools
    830 BLFS_TOOL:   $blfs_tool
     838SETUP:        $host_prep
     839AS_LUSER:     $cross_tools $temptools
     840SUDO:         $orphan_scripts
     841CHROOT_JAIL:  ${chroottools} $testsuitetools $basicsystem  $bootscripttools  $bootabletools
     842CUSTOM_TOOLS: $custom_list
     843BLFS_TOOL:    $blfs_tool
    831844
    832845
     
    867880        @\$(call echo_boot_finished,$VERSION)
    868881
    869 makesys: mk_FINAL mk_BLFS_TOOL
     882makesys: mk_FINAL mk_CUSTOM_TOOLS mk_BLFS_TOOL
    870883        @echo "$VERSION - jhalfs build" > /etc/clfs-release
    871884        @\$(call echo_finished,$VERSION)
     
    909922        @touch \$@
    910923
    911 mk_BLFS_TOOL: mk_FINAL
    912         @\$(call echo_PHASE,Building BLFS-TOOLS)
     924mk_CUSTOM_TOOLS: mk_FINAL
     925        @if [ "\$(ADD_CUSTOM_TOOLS)" = "y" ]; then \\
     926          mkdir -p ${TRACKING_DIR}; \\
     927          \$(call echo_PHASE,Building CUSTOM_TOOLS); \\
     928          ( source /root/.bash_profile && make CUSTOM_TOOLS"); \\
     929        fi;
     930        @touch \$@
     931
     932mk_BLFS_TOOL: mk_CUSTOM_TOOLS
    913933        @if [ "\$(ADD_BLFS_TOOLS)" = "y" ]; then \\
    914934          mkdir -p $TRACKING_DIR; \\
    915           ( make BLFS_TOOL ); \\
     935          \$(call echo_PHASE,Building BLFS_TOOL); \\
     936          ( source /root/.bash_profile && make BLFS_TOOL ); \\
    916937        fi
    917938        @touch \$@
    918939
    919 SETUP:      $host_prep
    920 AS_LUSER:   $cross_tools $temptools ${boottools}
    921 SUDO:       $orphan_scripts
    922 AS_ROOT:    $testsuitetools $basicsystem $bootscripttools $bootabletools
    923 BLFS_TOOL:  $blfs_tool
     940SETUP:        $host_prep
     941AS_LUSER:     $cross_tools $temptools ${boottools}
     942SUDO:         $orphan_scripts
     943AS_ROOT:      $testsuitetools $basicsystem $bootscripttools $bootabletools
     944CUSTOM_TOOLS: $custom_list
     945BLFS_TOOL:    $blfs_tool
    924946
    925947do-housekeeping:
Note: See TracChangeset for help on using the changeset viewer.