Ignore:
Timestamp:
Aug 31, 2008, 10:42:53 PM (17 years ago)
Author:
bird
Message:

footer: added global property DEPFILES with the usual permutations. Changed the NOINST check to test if the expanded value is non-zero to allow $(if ) test and similar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r1686 r1696  
    9292        $(_ALL_PATCHES)
    9393
    94 # dependency files.
    95 _DEPFILES :=
     94# Dependency files. (currently not on target level, only this global stuff)
     95_DEPFILES        := $(DEPFILES)    $(DEPFILES.$(KBUILD_TARGET))      $(DEPFILES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))        $(DEPFILES.$(KBUILD_TARGET_ARCH))    $(DEPFILES.$(KBUILD_TARGET_CPU))     $(DEPFILES.$(KBUILD_TYPE))
    9696
    9797# included dependency files.
     
    13531353
    13541354# INSTARGET_*
    1355 ifndef $(target)_NOINST
     1355ifeq ($(strip $($(target)_NOINST)),)
    13561356INSTARGET_$(target) := $(patsubst %/,%/$(notdir $(out)), \
    13571357        $(if $($(target)_INST), $(addprefix $(PATH_INS)/,$($(target)_INST)), $(definst)/))
     
    21002100# @remark   Only library uses this now.
    21012101define def_target_install_pluss
    2102 ifndef $(target)_NOINST
     2102ifeq ($(strip $($(target)_NOINST)),)
    21032103INSTARGET_$(target) := $(patsubst %/,%/$(notdir $(out)), \
    21042104        $(if $($(target)_INST), $(addprefix $(PATH_INS)/,$($(target)_INST)), $(definst)/))
     
    26112611
    26122612# installation targets
    2613 ifndef $(target)_NOINST
     2613ifeq ($(strip $($(target)_NOINST)),)
    26142614INSTARGET_$(target) := $(patsubst %/,%/$(notdir $(out)), \
    26152615        $(if $($(target)_INST), $(addprefix $(PATH_INS)/,$($(target)_INST)), $(definst)/))
Note: See TracChangeset for help on using the changeset viewer.