VirtualBox

Changeset 2238 in kBuild for trunk


Ignore:
Timestamp:
Jan 9, 2009 3:17:33 AM (16 years ago)
Author:
bird
Message:

footer.kmk: TARGET_$(target) -> $(target)_1_TARGET. Old value is still valid for a while. Ref #57.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r2236 r2238  
    14181418
    14191419# TARGET_*
    1420 TARGET_$(target) := $(out)
     1420TARGET_$(target)   := $(out)
     1421$(target)_1_TARGET := $(out)
    14211422
    14221423# INSTARGET_*
     
    15641565local bld_trg_cpu := $(firstword $($(target)_BLD_TRG_CPU)  $(KBUILD_TARGET_CPU))
    15651566# TARGET_*
    1566 TARGET_$(target)  := $(PATH_TARGET)/$(target).ins
     1567$(target)_1_TARGET:= $(PATH_TARGET)/$(target).ins
     1568
    15671569# INSTARGET_ later.
    15681570# PATH_*
     
    17681770local archive := $(out)
    17691771TARGET_$(target)_$(srcname) := $(out)
     1772$(target)_$(srcname)_1_TARGET = $(TARGET_$(target)_$(srcname))
    17701773local dirdep := $(call DIRDEP,$(fetchdir))
    17711774local tool := $(firstword \
     
    23342337local defpath     := $(firstword $($(target)_PATH) $($(target)_DEFPATH))
    23352338TARGET_$(target)  := $(out)
     2339$(target)_1_TARGET:= $(out)
    23362340# no local here - must be writable across some foreachs.
    23372341othersrc          :=
     
    25862590local out         := $(outbase)$(suff)
    25872591TARGET_$(target)  := $(out)
     2592$(target)_1_TARGET:= $(out)
    25882593local defpath     := $(firstword $($(target)_PATH) $($(target)_DEFPATH))
    25892594# no local here - must be writable across some foreachs.
     
    34233428
    34243429# the collection target
    3425 local clean_files += $(PATH_TARGET)/$(target).ins
    3426 TARGET_$(target) := $(PATH_TARGET)/$(target).ins
    3427 $(TARGET_$(target)): $$(INSTARGET_$(target)) | $$(INSTARGET_DIRS_$(target)) $(call DIRDEP,$(PATH_TARGET))
     3430local clean_files  += $(PATH_TARGET)/$(target).ins
     3431$(target)_1_TARGET := $(PATH_TARGET)/$(target).ins
     3432$($(target)_1_TARGET): $$(INSTARGET_$(target)) | $$(INSTARGET_DIRS_$(target)) $(call DIRDEP,$(PATH_TARGET))
    34283433        @$(QUIET2)$(APPEND) $@
    34293434
    3430 $(target): $$(TARGET_$(target))
    3431 
    3432 _INSTALLS += $(TARGET_$(target))
     3435$(target): $$($(target)_1_TARGET)
     3436
     3437_INSTALLS += $($(target)_1_TARGET)
    34333438_INSTALLS_FILES += $(INSTARGET_$(target))
    34343439_INSTALLS_DIRS += $(INSTARGET_DIRS_$(target))
     
    37703775        @$(ECHO) "target: $(target)" $(NLTAB)\
    37713776        @$(ECHO) "  PATH_$(target)=$(PATH_$(target))" $(NLTAB)\
    3772         @$(ECHO) "  TARGET_$(target)=$(TARGET_$(target))" $(NLTAB)\
     3777        @$(ECHO) "  $(target)_1_TARGET=$($(target)_1_TARGET)" $(NLTAB)\
    37733778        @$(ECHO) "  INSTARGET_$(target)=$(INSTARGET_$(target))" $(NLTAB)\
    37743779$(foreach prop,$(PROPS_SINGLE) $(PROPS_ACCUMULATE_L) $(PROPS_ACCUMULATE_R) 2_OBJS CLEAN, \
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