- Timestamp:
- Dec 25, 2008 10:56:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r2107 r2143 1406 1406 $(error kBuild internal error: PATH_$(target)=$(PATH_$(target)) expected $(patsubst %/,%,$(dir $(outbase)))) 1407 1407 endif 1408 ifeq ($(tool_prefix),AR) ## @todo fix this mess! 1409 local suff := $(firstword \1408 ## @todo fix the fun at the last line (AR != LIB => mess). 1409 local suff := $(firstword \ 1410 1410 $($(target)_$(EXT)SUFF.$(bld_trg).$(bld_trg_arch))\ 1411 1411 $($(target)_$(EXT)SUFF.$(bld_trg))\ … … 1414 1414 $(TOOL_$(tool)_$(tool_prefix)$(EXT)SUFF.$(bld_trg))\ 1415 1415 $(TOOL_$(tool)_$(tool_prefix)$(EXT)SUFF)\ 1416 $(SUFF_LIB)) 1417 else 1418 local suff := $(firstword \ 1419 $($(target)_$(EXT)SUFF) \ 1420 $($(target)_$(EXT)SUFF) \ 1421 $(TOOL_$(tool)_$(tool_prefix)$(EXT)SUFF) \ 1422 $($(EXTPRE)SUFF_$(EXT))) 1423 endif 1416 $(if $(eq $(tool_prefix),AR),$(SUFF_LIB),$($(EXTPRE)SUFF_$(EXT))) ) 1424 1417 local out := $(outbase)$(suff) 1425 1418 … … 2563 2556 $(error kBuild internal error: PATH_$(target)=$(PATH_$(target)) expected $(patsubst %/,%,$(dir $(outbase)))) 2564 2557 endif 2565 local suff := $(firstword \ 2566 $($(target)_$(EXT)SUFF) \ 2567 $($(target)_$(EXT)SUFF) \ 2568 $(TOOL_$(tool)_LD$(EXT)SUFF) \ 2569 $($(EXTPRE)SUFF_$(EXT))) 2558 local suff := $(firstword \ 2559 $($(target)_$(EXT)SUFF.$(bld_trg).$(bld_trg_arch))\ 2560 $($(target)_$(EXT)SUFF.$(bld_trg))\ 2561 $($(target)_$(EXT)SUFF)\ 2562 $(TOOL_$(tool)_LD$(EXT)SUFF.$(bld_trg).$(bld_trg_arch))\ 2563 $(TOOL_$(tool)_LD$(EXT)SUFF.$(bld_trg))\ 2564 $(TOOL_$(tool)_LD$(EXT)SUFF)\ 2565 $($(EXTPRE)SUFF_$(EXT)) ) 2570 2566 local out := $(outbase)$(suff) 2571 2567 TARGET_$(target) := $(out)
Note:
See TracChangeset
for help on using the changeset viewer.