Changeset 3e7ceed for CLFS2


Ignore:
Timestamp:
12/15/2006 10:53:10 AM (17 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
  • CLFS2/master.sh

    r830f28d r3e7ceed  
    409409  bootscripts_Makefiles            # $bootscripttools
    410410  bootable_Makefiles               # $bootable
    411   # Add the BLFS_TOOL targets, if needed. Clean PREV to prevent that
    412   # the first dependency script will depend on *-chowning
    413   [[ "$BLFS_TOOL" = "y" ]] && PREV="" && wrt_blfs_tool_targets
     411  # Add the CUSTOM_TOOLS targets, if needed
     412  [[ "$CUSTOM_TOOLS" = "y" ]] && wrt_CustomTools_target
     413  # Add the BLFS_TOOL targets, if needed.
     414  [[ "$BLFS_TOOL" = "y" ]] && wrt_blfs_tool_targets
    414415
    415416  # Add a header, some variables and include the function file
     
    422423cat << EOF
    423424
    424 all:    ck_UID mk_SETUP mk_LUSER create-sbu_du-report mk_BLFS_TOOL mk_ROOT
     425all:    ck_UID mk_SETUP mk_LUSER create-sbu_du-report mk_CUSTOM_TOOLS mk_BLFS_TOOL mk_ROOT
    425426        @sudo make restore-luser-env
    426427        @sudo make do-housekeeping
     
    445446        @touch \$@
    446447
    447 mk_BLFS_TOOL: create-sbu_du-report
    448         @\$(call echo_PHASE,Building BLFS-TOOLS)
     448mk_CUSTOM_TOOLS: create-sbu_du-report
    449449        @if [ "\$(ADD_BLFS_TOOLS)" = "y" ]; then \\
     450          \$(call echo_PHASE,Building CUSTOM_TOOLS); \\
     451          \$(call echo_SULUSER_request); \\
     452          (sudo \$(SU_LUSER) "mkdir -p $BUILDDIR$TRACKING_DIR"); \\
     453          (sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make SHELL=/bin/bash CUSTOM_TOOLS"); \\
     454        fi;
     455        @touch \$@
     456
     457mk_BLFS_TOOL: mk_CUSTOM_TOOLS
     458        @if [ "\$(ADD_BLFS_TOOLS)" = "y" ]; then \\
     459          \$(call echo_PHASE,Building BLFS_TOOL); \\
     460          \$(call echo_SULUSER_request); \\
    450461          (sudo \$(SU_LUSER) "mkdir -p $BUILDDIR$TRACKING_DIR"); \\
    451462          (sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make SHELL=/bin/bash BLFS_TOOL"); \\
     
    453464        @touch \$@
    454465
    455 mk_ROOT:
     466mk_ROOT: mk_BLFS_TOOL
     467        @\$(call echo_SU_request)
    456468        @echo "$VERSION-sysroot - jhalfs build" > clfs-release && \\
    457469        sudo mv clfs-release \$(MOUNT_PT)/etc
     
    459471        @touch \$@
    460472
    461 SETUP:     $host_prep
    462 LUSER:     $cross_tools $basicsystem $bootscripttools $bootable
    463 BLFS_TOOL: $blfs_tool
    464 ROOT:      $chowning
     473SETUP:        $host_prep
     474LUSER:        $cross_tools $basicsystem $bootscripttools $bootable
     475CUSTOM_TOOLS: $custom_list
     476BLFS_TOOL:    $blfs_tool
     477ROOT:         $chowning
    465478
    466479
Note: See TracChangeset for help on using the changeset viewer.