Ignore:
Timestamp:
May 12, 2008, 5:55:50 PM (17 years ago)
Author:
bird
Message:

Added a CLEAN attribute to the fetch target.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r1599 r1613  
    15901590        $($(target)_SIZE)\
    15911591)
     1592clean_files += \
     1593        $($(target)_$(source)_CLEAN)\
     1594        $($(target)_$(srcname)_CLEAN)\
     1595        $($(source)_CLEAN)\
     1596        $($(srcname)_CLEAN)
    15921597local dep := # not legal for fetch and unpack tools
    15931598
     
    17661771_TARGET_$(target)_UNPACKED :=
    17671772_TARGET_$(target)_DIGEST :=
     1773local clean_files := $($(target)_CLEAN)
    17681774
    17691775# The 'sources'.
     
    17891795_UNFETCHES += $(out)_unfetched
    17901796_DIRS += $(inst)
     1797_CLEAN_FILES += $(clean_files)
    17911798
    17921799endef
     
    17961803bld_trg_arch := $(KBUILD_TARGET_ARCH)
    17971804$(foreach target, $(FETCHES) $(FETCHES.$(KBUILD_TARGET)) $(FETCHES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)), \
    1798         $(evalval def_fetch))
     1805        $(evalvalctx def_fetch))
    17991806
    18001807# some aliases.
Note: See TracChangeset for help on using the changeset viewer.