Ignore:
Timestamp:
Dec 1, 2006, 8:42:42 AM (19 years ago)
Author:
bird
Message:

prototype of tools/source fetching.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/header.kmk

    r601 r640  
    508508DEFAULT_MAKEFILE := Makefile.kmk makefile.kmk Makefile makefile
    509509
     510## PROPS_TOOLS
     511# This is a subset of the other PROPS
     512PROPS_TOOLS := TOOL CTOOL CXXTOOL ASTOOL ARTOOL LDTOOL FETCHTOOL UNPACKTOOL PATCHTOOL
     513
    510514## PROPS_SINGLE
    511515# The list of non-accumulative target properties.
    512516# A Config.kmk file can add it's own properties to this list and kBuild
    513517# will do the necessary inheritance from templates to targets.
    514 PROPS_SINGLE := TOOL ARTOOL CTOOL CXXTOOL ASTOOL LDTOOL INST NOINST
     518PROPS_SINGLE := $(PROPS_TOOLS) INST NOINST BLD_TYPE BLD_TRG BLD_TRG_ARCH BLD_TRG_CPU FETCHDIR
    515519
    516520## PROPS_DEFERRED
     
    528532        ASOPTS ASFLAGS ASDEFS ASINCS \
    529533        LDFLAGS LIBS LIBPATH \
    530         BLD_TYPE BLD_TRG BLD_TRG_ARCH BLD_TRG_CPU \
    531534        SYSSUFF EXESUFF DLLSUFF LIBSUFF ARLIBSUFF \
    532 
    533 
    534 ## PROPS_TOOLS
    535 # This is a subset of the other PROPS
    536 PROPS_TOOLS := TOOL CTOOL CXXTOOL ASTOOL ARTOOL LDTOOL
     535        FETCHFLAGS UNPACKFLAGS PATCHFLAGS
    537536
    538537
     
    544543# The PASS_<passname>_pass variable is the lowercased passname.
    545544#
     545
     546## PASS: fetches
     547# This pass fetches and unpacks things needed to complete the build.
     548PASS_FETCHES        := Fetches
     549PASS_FETCHES_trgs   :=
     550PASS_FETCHES_vars   := _FETCHES
     551PASS_FETCHES_pass   := fetches
     552
     553## PASS: patches
     554# This pass applies patches.
     555PASS_PATCHES        := Patches
     556PASS_PATCHES_trgs   :=
     557PASS_PATCHES_vars   := _PATCHES
     558PASS_PATCHES_pass   := patches
    546559
    547560## PASS: bldprogs
     
    621634# The passes that should be defined. This must include
    622635# all passes mentioned by DEFAULT_PASSES.
    623 PASSES := $(DEFAULT_PASSES) NOTHING CLEAN
     636PASSES := FETCHES PATCHES $(DEFAULT_PASSES) NOTHING CLEAN
    624637
    625638
Note: See TracChangeset for help on using the changeset viewer.