Ignore:
Timestamp:
Dec 17, 2006, 9:12:30 AM (19 years ago)
Author:
bird
Message:

set PATH_target early (i.e. in subheader/subfooter).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/subfooter.kmk

    r742 r743  
    2929#
    3030ifdef __footer_kmk__
    31 $(error kBuild: footer.kmk has already been included. Fix your sub-makefiles!)
     31 $(error kBuild: footer.kmk has already been included. Fix your sub-makefiles!)
    3232endif
    3333
     
    3636#
    3737define def_subheader
    38 ifndef $(target)_PATH
    39 $(target)_PATH := $(PATH_SUB_CURRENT)
    40 endif
    41 ifndef $(target)_MAKEFILE
    42 $(target)_MAKEFILE := $(MAKEFILE_CURRENT)
    43 endif
     38 ifndef $(target)_PATH
     39  $(target)_PATH := $(PATH_SUB_CURRENT)
     40 endif
     41 ifndef $(target)_MAKEFILE
     42  $(target)_MAKEFILE := $(MAKEFILE_CURRENT)
     43 endif
     44 ifndef PATH_$(target)
     45  PATH_$(target) := $(call TARGET_PATH,$(target))
     46 endif
    4447endef
    4548
Note: See TracChangeset for help on using the changeset viewer.