- Timestamp:
- Sep 6, 2008 3:23:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r1702 r1754 1483 1483 local bld_trg_cpu := $(firstword $($(target)_BLD_TRG_CPU) $(KBUILD_TARGET_CPU)) 1484 1484 # TARGET_* 1485 TARGET_$(target) := $(PATH_TARGET)/$(target).ins1485 TARGET_$(target) := $(PATH_TARGET)/$(target).ins 1486 1486 # INSTARGET_ later. 1487 endef 1487 # PATH_* 1488 local outbase := $(call TARGET_BASE,$(target),$(target)) 1489 PATH_$(target) := $(patsubst %/,%,$(dir $(outbase))) 1490 endef # def_pass1_install 1488 1491 $(foreach target, $(_ALL_INSTALLS), \ 1489 1492 $(evalval def_pass1_install)) … … 3214 3217 INSTARGET_$(target) := $($(target)_GOALS) 3215 3218 INSTARGET_DIRS_$(target) := 3219 local outbase := $(call TARGET_BASE,$(target),$(target)) 3220 ifndef PATH_$(target) 3221 PATH_$(target) := $(patsubst %/,%,$(dir $(outbase))) 3222 else ifneq ($(PATH_$(target)),$(patsubst %/,%,$(dir $(outbase)))) 3223 $(error kBuild internal error: PATH_$(target)=$(PATH_$(target)) expected $(patsubst %/,%,$(dir $(outbase)))) 3224 endif 3216 3225 3217 3226 local clean_files := $($(target)_CLEAN) $($(target)_CLEAN.$(bld_trg)) $($(target)_CLEAN.$(bld_trg).$(bld_trg_arch)) $($(target)_CLEAN.$(bld_trg_arch)) $($(target)_CLEAN.$(bld_trg_cpu)) $($(target)_CLEAN.$(bld_type)) … … 3237 3246 _INSTALLS_DIRS += $(INSTARGET_DIRS_$(target)) 3238 3247 _CLEAN_FILES += $(clean_files) 3239 _DIRS += $( $(target)_BLDDIRS) $($(target)_BLDDIRS.$(bld_trg)) $($(target)_BLDDIRS.$(bld_trg).$(bld_trg_arch)) $($(target)_BLDDIRS.$(bld_trg_arch)) $($(target)_BLDDIRS.$(bld_trg_cpu)) $($(target)_BLDDIRS.$(bld_type))3248 _DIRS += $(PATH_$(target)) $($(target)_BLDDIRS) $($(target)_BLDDIRS.$(bld_trg)) $($(target)_BLDDIRS.$(bld_trg).$(bld_trg_arch)) $($(target)_BLDDIRS.$(bld_trg_arch)) $($(target)_BLDDIRS.$(bld_trg_cpu)) $($(target)_BLDDIRS.$(bld_type)) 3240 3249 endef 3241 3250
Note:
See TracChangeset
for help on using the changeset viewer.