Changeset c10570d


Ignore:
Timestamp:
10/04/2006 10:11:32 PM (18 years ago)
Author:
George Boudreau <georgeb@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
c93a537
Parents:
6feeca3
Message:

Added blfs-tool support scripts to CLFS, enabled selection in Config.in

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • CLFS/master.sh

    r6feeca3 rc10570d  
    11171117  $bootable_cmds             # mk_BOOTABLE   (CHROOT) $bootabletools
    11181118
     1119  # Add the BLFS_TOOL targets, if needed
     1120  [[ "$BLFS_TOOL" = "y" ]] && wrt_blfs_tool_targets
     1121
    11191122  # Add a header, some variables and include the function file
    11201123  # to the top of the real Makefile.
     
    11231126$HEADER
    11241127
    1125 SRC          = /sources
    1126 MOUNT_PT     = $BUILDDIR
    1127 PKG_LST      = $PKG_LST
    1128 LUSER        = $LUSER
    1129 LGROUP       = $LGROUP
    1130 SCRIPT_ROOT  = $SCRIPT_ROOT
     1128SRC            = /sources
     1129MOUNT_PT       = $BUILDDIR
     1130PKG_LST        = $PKG_LST
     1131LUSER          = $LUSER
     1132LGROUP         = $LGROUP
     1133SCRIPT_ROOT    = $SCRIPT_ROOT
     1134ADD_BLFS_TOOLS = $BLFS_TOOL
    11311135
    11321136BASEDIR      = \$(MOUNT_PT)
     
    11671171                -e 's|exit||g' \
    11681172                -e 's|$| -c|' \
    1169                 -e 's|"$$CLFS"|$(MOUNT_PT)|'\
     1173          P      -e 's|"$$CLFS"|$(MOUNT_PT)|'\
    11701174                -e 's|set -e||'`
    11711175    echo -e "CHROOT1= $chroot\n" >> $MKFILE
     
    11781182cat << EOF
    11791183
    1180 all: ck_UID mk_SETUP mk_CROSS mk_SUDO mk_SYSTOOLS create-sbu_du-report
     1184all: ck_UID mk_SETUP mk_CROSS mk_SUDO mk_SYSTOOLS create-sbu_du-report mk_BLFS_TOOL
    11811185        @sudo make do-housekeeping
    11821186        @\$(call echo_finished,$VERSION)
     
    12271231        @touch \$@
    12281232
    1229 
     1233mk_BLFS_TOOL: mk_SYSTOOLS
     1234        @\$(call echo_PHASE,Building BLFS-TOOLS); \\
     1235        @if [ "\$(ADD_BLFS_TOOLS)" = "y" ]; then \\
     1236          sudo mkdir -p $BUILDDIR$TRACKING_DIR; \\
     1237          sudo \$(CHROOT1) "cd \$(SCRIPT_ROOT) && make BLFS_TOOL"; \\
     1238        fi
     1239        @touch \$@
    12301240
    12311241SETUP:       $host_prep
     
    12331243SUDO:        $orphan_scripts
    12341244CHROOT_JAIL: ${chroottools}${boottools} $testsuitetools $basicsystem  $bootscripttools  $bootabletools
     1245BLFS_TOOL:   $blfs_tool
    12351246
    12361247do-housekeeping:
     
    12631274  else echo -e "\t@true\n" >> $MKFILE; fi
    12641275
     1276
    12651277fi
    12661278
     
    12761288        @\$(call echo_boot_finished,$VERSION)
    12771289
    1278 makesys: mk_FINAL
     1290makesys: mk_FINAL mk_BLFS_TOOL
    12791291        @\$(call echo_finished,$VERSION)
    12801292
     
    13061318        @touch \$@
    13071319
    1308 mk_SUDO: mk_SYSTOOLS
     1320mk_SUDO: mk_CROSS
    13091321        @sudo make SUDO
    13101322        @touch \$@
     
    13171329        @touch \$@
    13181330
     1331mk_BLFS_TOOL: mk_FINAL
     1332        @\$(call echo_PHASE,Building BLFS-TOOLS)
     1333        @if [ "\$(ADD_BLFS_TOOLS)" = "y" ]; then \\
     1334          mkdir -p $TRACKING_DIR; \\
     1335          make BLFS_TOOL; \\
     1336        fi
     1337        @touch \$@
     1338
    13191339SETUP:      $host_prep
    13201340AS_LUSER:   $cross_tools $temptools ${chroottools}${boottools}
    13211341SUDO:       $orphan_scripts
    13221342AS_ROOT:    $testsuitetools $basicsystem $bootscripttools $bootabletools
     1343BLFS_TOOL:  $blfs_tool
    13231344
    13241345do-housekeeping:
  • Config.in

    r6feeca3 rc10570d  
    5858
    5959                config  BRANCH
    60                         bool    "Branch or stable book" if !BOOK_HLFS && !BOOK_CLFS2
     60                        bool    "Branch or stable book" if !BOOK_CLFS2
    6161                        help
    6262                                #-- A supported SVN branch or stable released book
     
    273273                default n
    274274#               depends on !BOOK_BLFS
    275                 depends on BOOK_LFS
     275                depends on BOOK_LFS || BOOK_CLFS
    276276                help
    277277                        #--- Activating this option additional packages needed to
  • common/makefile-functions

    r6feeca3 rc10570d  
    1818  @clear
    1919  @echo $(BOLD)--------------------------------------------------------------------------------
    20   @echo Executing $(BLUE)$(1)$(WHITE) scripts
     20  @echo -e \\t\\tExecuting $(BLUE)$(1)$(WHITE) scripts
    2121  @echo $(BOLD)--------------------------------------------------------------------------------
    2222  #echo $(WHITE)
  • jhalfs

    r6feeca3 rc10570d  
    131131    TREE=branches/${BRANCH_ID#branch-}/BOOK
    132132    ;;
     133  2.4-branch )
     134    LFSVRS=${BRANCH_ID}
     135    TREE=branches/2.4-branch
     136    ;;   
    133137  * )
    134138    case $PROGNAME in
Note: See TracChangeset for help on using the changeset viewer.