Changeset 2241


Ignore:
Timestamp:
Jan 9, 2009, 4:59:26 AM (16 years ago)
Author:
bird
Message:

footer.kmk: turned out TARGET_$(target) was used on installs too, restored it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/kBuild/footer.kmk

    r2239 r2241  
    15571557#
    15581558define def_pass1_install
    1559 local bld_type    := $(firstword $($(target)_BLD_TYPE)     $(KBUILD_TYPE))
    1560 local bld_trg     := $(firstword $($(target)_BLD_TRG)      $(KBUILD_TARGET))
    1561 local bld_trg_arch:= $(firstword $($(target)_BLD_TRG_ARCH) $(KBUILD_TARGET_ARCH))
    1562 local bld_trg_cpu := $(firstword $($(target)_BLD_TRG_CPU)  $(KBUILD_TARGET_CPU))
     1559local bld_type     := $(firstword $($(target)_BLD_TYPE)     $(KBUILD_TYPE))
     1560local bld_trg      := $(firstword $($(target)_BLD_TRG)      $(KBUILD_TARGET))
     1561local bld_trg_arch := $(firstword $($(target)_BLD_TRG_ARCH) $(KBUILD_TARGET_ARCH))
     1562local bld_trg_cpu  := $(firstword $($(target)_BLD_TRG_CPU)  $(KBUILD_TARGET_CPU))
    15631563# TARGET_*
    1564 $(target)_1_TARGET:= $(PATH_TARGET)/$(target).ins
     1564$(target)_1_TARGET := $(PATH_TARGET)/$(target).ins
     1565TARGET_$(target)   := $($(target)_1_TARGET)
    15651566
    15661567# INSTARGET_ later.
    15671568# PATH_*
    1568 local outbase     := $(call TARGET_BASE,$(target),$(target))
    1569 $(target)_0_OUTDIR:= $(patsubst %/,%,$(dir $(outbase)))
    1570 PATH_$(target)    := $($(target)_0_OUTDIR)
     1569local outbase      := $(call TARGET_BASE,$(target),$(target))
     1570$(target)_0_OUTDIR := $(patsubst %/,%,$(dir $(outbase)))
     1571PATH_$(target)     := $($(target)_0_OUTDIR)
    15711572endef # def_pass1_install
    15721573$(eval-opt-var def_pass1_install)
     
    34193420local clean_files  += $(PATH_TARGET)/$(target).ins
    34203421$(target)_1_TARGET := $(PATH_TARGET)/$(target).ins
     3422TARGET_$(target)   := $($(target)_1_TARGET)
    34213423$($(target)_1_TARGET): $$(INSTARGET_$(target)) | $$(INSTARGET_DIRS_$(target)) $(call DIRDEP,$(PATH_TARGET))
    34223424        @$(QUIET2)$(APPEND) $@
Note: See TracChangeset for help on using the changeset viewer.