- Timestamp:
- May 2, 2007 10:37:57 PM (18 years ago)
- Location:
- trunk/kBuild
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r874 r889 581 581 bld_trg_cpu := $(firstword $($(target)_BLD_TRG_CPU) $(BUILD_$(bld_trg_base_var)_CPU)) 582 582 583 tool := $(call _TARGET_TOOL,$(target),$(tool_prefix)) 584 outbase := $(call TARGET_BASE,$(target),$(target)) 583 tool := $(call _TARGET_TOOL,$(target),$(tool_prefix)) 584 name := $(firstword\ 585 $($(target)_NAME.$(bld_trg).$(bld_trg_arch))\ 586 $($(target)_NAME.$(bld_trg_arch))\ 587 $($(target)_NAME.$(bld_trg))\ 588 $($(target)_NAME.$(bld_type))\ 589 $($(target)_NAME)\ 590 $(target)) 591 outbase := $(call TARGET_BASE,$(name),$(target)) 585 592 ifndef PATH_$(target) 586 593 PATH_$(target) := $(patsubst %/,%,$(dir $(outbase))) … … 1340 1347 $(error kBuild: Library target $(target) does not have a tool defined!) 1341 1348 endif 1342 outbase := $(call TARGET_BASE,$(target),$(target)) 1349 name := $(firstword\ 1350 $($(target)_NAME.$(bld_trg).$(bld_trg_arch))\ 1351 $($(target)_NAME.$(bld_trg_arch))\ 1352 $($(target)_NAME.$(bld_trg))\ 1353 $($(target)_NAME.$(bld_type))\ 1354 $($(target)_NAME)\ 1355 $(target)) 1356 outbase := $(call TARGET_BASE,$(name),$(target)) 1343 1357 ifndef PATH_$(target) 1344 1358 PATH_$(target) := $(patsubst %/,%,$(dir $(outbase))) … … 1366 1380 # library linking 1367 1381 tool := $(call _TARGET_TOOL,$(target),AR) 1368 outbase := $(call TARGET_BASE,$(target),$(target)) 1382 name := $(firstword\ 1383 $($(target)_NAME.$(bld_trg).$(bld_trg_arch))\ 1384 $($(target)_NAME.$(bld_trg_arch))\ 1385 $($(target)_NAME.$(bld_trg))\ 1386 $($(target)_NAME.$(bld_type))\ 1387 $($(target)_NAME)\ 1388 $(target)) 1389 outbase := $(call TARGET_BASE,$(name),$(target)) 1369 1390 flags :=\ 1370 1391 $(TOOL_$(tool)_ARFLAGS)\ … … 1539 1560 1540 1561 tool := $(call _TARGET_TOOL,$(target),LD) 1541 outbase := $(call TARGET_BASE,$(target),$(target)) 1562 name := $(firstword\ 1563 $($(target)_NAME.$(bld_trg).$(bld_trg_arch))\ 1564 $($(target)_NAME.$(bld_trg_arch))\ 1565 $($(target)_NAME.$(bld_trg))\ 1566 $($(target)_NAME.$(bld_type))\ 1567 $($(target)_NAME)\ 1568 $(target)) 1569 outbase := $(call TARGET_BASE,$(name),$(target)) 1542 1570 ifndef PATH_$(target) 1543 1571 PATH_$(target) := $(patsubst %/,%,$(dir $(outbase))) … … 1562 1590 # more link stuff. 1563 1591 tool := $(call _TARGET_TOOL,$(target),LD) 1564 outbase := $(call TARGET_BASE,$(target),$(target)) 1592 name := $(firstword\ 1593 $($(target)_NAME.$(bld_trg).$(bld_trg_arch))\ 1594 $($(target)_NAME.$(bld_trg_arch))\ 1595 $($(target)_NAME.$(bld_trg))\ 1596 $($(target)_NAME.$(bld_type))\ 1597 $($(target)_NAME)\ 1598 $(target)) 1599 outbase := $(call TARGET_BASE,$(name),$(target)) 1565 1600 flags :=\ 1566 1601 $(TOOL_$(tool)_LDFLAGS)\ -
trunk/kBuild/header.kmk
r874 r889 547 547 548 548 ## PROPS_DEFERRED 549 # This list of non-accumulative target properties which are functions,550 # and thus should not be expanded until the very last moment.551 PROPS_DEFERRED := INSTFUN INSTALLER PRE_CMDS POST_CMDS 549 # This list of non-accumulative target properties which are or may be 550 # functions, and thus should not be expanded until the very last moment. 551 PROPS_DEFERRED := INSTFUN INSTALLER PRE_CMDS POST_CMDS NAME 552 552 553 553 ## PROPS_ACCUMULATE_R
Note:
See TracChangeset
for help on using the changeset viewer.