Changeset cd4466f for CLFS2


Ignore:
Timestamp:
12/11/2006 06:21:16 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
5932971
Parents:
de22e80
Message:

Added BLFS_TOOL support to CLFS2 and some bug fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLFS2/master.sh

    rde22e80 rcd4466f  
    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
    411414
    412415  # Add a header, some variables and include the function file
     
    419422cat << EOF
    420423
    421 all:    ck_UID mk_SETUP mk_LUSER mk_ROOT create-sbu_du-report
     424all:    ck_UID mk_SETUP mk_LUSER create-sbu_du-report mk_BLFS_TOOL mk_ROOT
     425        @sudo make restore-luser-env
    422426        @sudo make do-housekeeping
    423427        @\$(call echo_finished,$VERSION)
     
    442446        @touch \$@
    443447
     448mk_BLFS_TOOL: create-sbu_du-report
     449        @\$(call echo_PHASE,Building BLFS-TOOLS)
     450        @if [ "\$(ADD_BLFS_TOOLS)" = "y" ]; then \\
     451          (sudo \$(SU_LUSER) "mkdir -p $BUILDDIR$TRACKING_DIR"); \\
     452          (sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make SHELL=/bin/bash BLFS_TOOL"); \\
     453        fi;
     454        @touch \$@
     455
    444456mk_ROOT:
    445457        @echo "$VERSION-sysroot - jhalfs build" > clfs-release && \\
     
    448460        @touch \$@
    449461
    450 SETUP:  $host_prep
    451 LUSER:  $cross_tools $basicsystem $bootscripttools $bootable
    452 ROOT:   $chowning
    453 
    454 
    455 create-sbu_du-report:  ROOT
     462SETUP:     $host_prep
     463LUSER:     $cross_tools $basicsystem $bootscripttools $bootable
     464BLFS_TOOL: $blfs_tool
     465ROOT:      $chowning
     466
     467
     468create-sbu_du-report: mk_LUSER
    456469        @\$(call echo_message, Building)
    457470        @if [ "\$(ADD_REPORT)" = "y" ]; then \\
Note: See TracChangeset for help on using the changeset viewer.