VirtualBox

Changeset 1772 in kBuild for trunk


Ignore:
Timestamp:
Sep 8, 2008 2:36:03 AM (16 years ago)
Author:
bird
Message:

subheader/footer: Fixed DEFPATH/PATH property. Either should be usable for a while until PATH is dropped.

Location:
trunk/kBuild
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/subfooter.kmk

    r1755 r1772  
    4444define def_subheader
    4545 ifndef $(target)_PATH
    46   $(target)_PATH := $(PATH_SUB_CURRENT)
    47  endif
    48  ifndef $(target)_DEFPATH
    49   $(target)_DEFPATH := $(PATH_SUB_CURRENT)
     46  ifdef $(target)_DEFPATH
     47   $(target)_PATH := $($(target)_DEFPATH)
     48  else
     49   $(target)_PATH := $(PATH_SUB_CURRENT)
     50  endif
     51 else ifndef $(target)_DEFPATH
     52  $(target)_DEFPATH := $($(target)_PATH)
    5053 endif
    5154 ifndef $(target)_MAKEFILE
  • trunk/kBuild/subheader.kmk

    r1755 r1772  
    5454 define def_subfooter
    5555  ifndef $(target)_PATH
    56    $(target)_PATH := $(PATH_SUB_CURRENT)
    57   endif
    58   ifndef $(target)_DEFPATH
    59    $(target)_DEFPATH := $(PATH_SUB_CURRENT)
     56   ifdef $(target)_DEFPATH
     57    $(target)_PATH := $($(target)_DEFPATH)
     58   else
     59    $(target)_PATH := $(PATH_SUB_CURRENT)
     60   endif
     61  else ifndef $(target)_DEFPATH
     62   $(target)_DEFPATH := $($(target)_PATH)
    6063  endif
    6164  ifndef $(target)_MAKEFILE
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette