Changeset 2084 in kBuild
- Timestamp:
- Nov 19, 2008 2:35:03 AM (16 years ago)
- Location:
- trunk/kBuild
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r2080 r2084 51 51 _ALL_PROGRAMS := $(PROGRAMS) $(PROGRAMS.$(KBUILD_TARGET)) $(PROGRAMS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(PROGRAMS.$(KBUILD_TARGET_ARCH)) $(PROGRAMS.$(KBUILD_TARGET_CPU)) $(PROGRAMS.$(KBUILD_TYPE)) 52 52 _ALL_SYSMODS := $(SYSMODS) $(SYSMODS.$(KBUILD_TARGET)) $(SYSMODS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(SYSMODS.$(KBUILD_TARGET_ARCH)) $(SYSMODS.$(KBUILD_TARGET_CPU)) $(SYSMODS.$(KBUILD_TYPE)) 53 _ALL_MISCBINS := $(MISCBINS) $(MISCBINS.$(KBUILD_TARGET)) $(MISCBINS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(MISCBINS.$(KBUILD_TARGET_ARCH)) $(MISCBINS.$(KBUILD_TARGET_CPU)) $(MISCBINS.$(KBUILD_TYPE)) 53 54 _ALL_OTHERS := $(OTHERS) $(OTHERS.$(KBUILD_TARGET)) $(OTHERS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(OTHERS.$(KBUILD_TARGET_ARCH)) $(OTHERS.$(KBUILD_TARGET_CPU)) $(OTHERS.$(KBUILD_TYPE)) 54 55 _ALL_INSTALLS := $(INSTALLS) $(INSTALLS.$(KBUILD_TARGET)) $(INSTALLS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(INSTALLS.$(KBUILD_TARGET_ARCH)) $(INSTALLS.$(KBUILD_TARGET_CPU)) $(INSTALLS.$(KBUILD_TYPE)) … … 66 67 $(_ALL_PROGRAMS) \ 67 68 $(_ALL_SYSMODS) \ 69 $(_ALL_MISCBINS) \ 68 70 $(_ALL_INSTALLS) \ 69 71 $(_ALL_OTHERS) … … 78 80 $(_ALL_PROGRAMS) \ 79 81 $(_ALL_SYSMODS) \ 82 $(_ALL_MISCBINS) \ 80 83 $(_ALL_INSTALLS) \ 81 84 $(_ALL_OTHERS) … … 117 120 _PROGRAMS := 118 121 _SYSMODS := 122 _MISCBINS := 119 123 _INSTALLS := 120 124 _INSTALLS_FILES := … … 916 920 properties_deferred := $(PROPS_SYSMODS_DEFERRED) 917 921 $(foreach trg, $(_ALL_SYSMODS),$(evalval def_inherit)) 922 923 # Misc binaries. 924 properties := $(PROPS_MISCBINS_SINGLE) 925 properties_now_l := $(PROPS_MISCBINS_ACCUMULATE_L) 926 properties_now_r := $(PROPS_MISCBINS_ACCUMULATE_R) 927 properties_deferred := $(PROPS_MISCBINS_DEFERRED) 928 $(foreach trg, $(_ALL_MISCBINS),$(evalval def_inherit)) 918 929 919 930 # Installs. … … 1535 1546 bld_trg_base_var := TARGET 1536 1547 $(foreach target, $(_ALL_SYSMODS), \ 1548 $(evalval def_pass1_link_common)) 1549 1550 1551 # 1552 # MISCBINS (Pass 1) 1553 # 1554 EXT := BIN 1555 EXTPRE := 1556 definst := $(PATH_BIN) 1557 tool_prefix := LD 1558 bld_trg_base_var := TARGET 1559 $(foreach target, $(_ALL_MISCBINS), \ 1537 1560 $(evalval def_pass1_link_common)) 1538 1561 … … 3012 3035 3013 3036 # 3037 # MISCBINS 3038 # 3039 3040 # Process MISCBINS 3041 EXT := BIN 3042 EXTPRE := 3043 tool_do := LINK_MISCBIN 3044 definst := $(PATH_BIN) 3045 typevar := _MISCBINS 3046 mode := 0644 3047 bld_trg_base_var := TARGET 3048 $(foreach target, $(_ALL_MISCBINS), $(evalval def_link_common)) 3049 3050 ifdef KBUILD_PROFILE_SELF 3051 $(evalcall def_profile_self, done misc binary targets) 3052 endif 3053 3054 3055 # 3014 3056 # OTHERS 3015 3057 # … … 3623 3665 3624 3666 # misc shortcuts (use secondary expansion here to save strcache[file] space). 3625 targets: bldprogs libraries dlls programs sysmods others installs3667 targets: bldprogs libraries dlls programs sysmods miscbins others installs 3626 3668 objects: $$(_OBJS) 3627 3669 bldprogs: $$(_BLDPROGS) … … 3630 3672 programs: $$(_PROGRAMS) 3631 3673 sysmods: $$(_SYSMODS) 3674 miscbins: $$(_MISCBINS) 3632 3675 others: $$(_OTHERS) 3633 3676 installs: $$(_INSTALLS) $$(_INSTALLS_DIRS) $$(_INSTALLS_FILES) … … 3682 3725 ifneq ($(KBUILD_PROFILE_SELF),0) 3683 3726 $(info prof: ALL=$(words $(_ALL_TARGETS)) BLDPROGS=$(words $(_ALL_BLDPROGS)) LIBRARIES=$(words $(_ALL_LIBRARIES)) IMPORT_LIBS=$(words $(IMPORT_LIBS)) DLLS=$(words $(DLLS)) PROGRAMS=$(words $(_ALL_PROGRAMS)) ) 3684 $(info prof: SYSMODS=$(words $(_ALL_SYSMODS)) OTHERS=$(words $(_ALL_OTHERS)) INSTALLS=$(words $(_ALL_INSTALLS)) FETCHES=$(words $(_ALL_FETCHES)) PACKING=$(words $(_PACKING)) TESTING=$(words $(TESTING)) )3727 $(info prof: SYSMODS=$(words $(_ALL_SYSMODS)) MISCBINS=$(words $(_ALL_MISCBINS)) OTHERS=$(words $(_ALL_OTHERS)) INSTALLS=$(words $(_ALL_INSTALLS)) FETCHES=$(words $(_ALL_FETCHES)) PACKING=$(words $(_PACKING)) TESTING=$(words $(TESTING)) ) 3685 3728 $(info prof: DIRS=$(words $(_DIR_ALL)) TOOLS=$(words $(_TOOLS)) SDKS=$(words $(_SDKS)) USES=$(words $(_USES)) OUT_FILES=$(words $(_OUT_FILES)) OBJS=$(words $(_OBJS)) CLEAN_FILES=$(words $(CLEAN_FILES) $(OTHER_CLEAN)) ) 3686 3729 $(info prof: DEPFILES_INCLUDED=$(words $(_DEPFILES_INCLUDED)) DEPFILES=$(words $(_DEPFILES)) MAKEFILES=$(words $(MAKEFILE_LIST)) ) -
trunk/kBuild/header.kmk
r2018 r2084 819 819 ## @} 820 820 821 ## @name Properties valid on misc binaries (MISCBINS) 822 ## @{ 823 PROPS_MISCBINS_SINGLE := $(PROPS_SINGLE_LNK) LDTOOL BINSUFF 824 PROPS_MISCBINS_DEFERRED := $(PROPS_DEFERRED) 825 PROPS_MISCBINS_ACCUMULATE_R := $(PROPS_ACCUMULATE_R_LNK) LDFLAGS 826 PROPS_MISCBINS_ACCUMULATE_L := $(PROPS_ACCUMULATE_L_LNK) LIBS LIBPATH 827 ## @} 828 821 829 ## @name Properties valid on installs (INSTALLS) 822 830 ## @{ … … 852 860 endef 853 861 $(foreach prop, $(PROPS_ALL) \ 854 FETCHES PATCHES BLDPROGS LIBRARIES IMPORT_LIBS DLLS PROGRAMS SYSMODS INSTALLS OTHERS \862 FETCHES PATCHES BLDPROGS LIBRARIES IMPORT_LIBS DLLS PROGRAMS SYSMODS MISCBINS INSTALLS OTHERS \ 855 863 SUBDIRS MAKEFILES BLDDIRS \ 856 864 ,$(eval $(value def_nuke_environment_prop))) … … 906 914 PASS_BINARIES := Programs 907 915 PASS_BINARIES_trgs := 908 PASS_BINARIES_vars := _PROGRAMS _SYSMODS _ OTHER_BINARIES916 PASS_BINARIES_vars := _PROGRAMS _SYSMODS _MISC_BINS _OTHER_BINARIES 909 917 PASS_BINARIES_pass := binaries 910 918 -
trunk/kBuild/subfooter.kmk
r2018 r2084 71 71 $(PROGRAMS) $(PROGRAMS.$(KBUILD_TARGET)) $(PROGRAMS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(PROGRAMS.$(KBUILD_TARGET_ARCH)) $(PROGRAMS.$(KBUILD_TARGET_CPU)) $(PROGRAMS.$(KBUILD_TYPE)) \ 72 72 $(SYSMODS) $(SYSMODS.$(KBUILD_TARGET)) $(SYSMODS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(SYSMODS.$(KBUILD_TARGET_ARCH)) $(SYSMODS.$(KBUILD_TARGET_CPU)) $(SYSMODS.$(KBUILD_TYPE)) \ 73 $(MISCBINS) $(MISCBINS.$(KBUILD_TARGET)) $(MISCBINS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(MISCBINS.$(KBUILD_TARGET_ARCH)) $(MISCBINS.$(KBUILD_TARGET_CPU)) $(MISCBINS.$(KBUILD_TYPE)) \ 73 74 $(INSTALLS) $(INSTALLS.$(KBUILD_TARGET)) $(INSTALLS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(INSTALLS.$(KBUILD_TARGET_ARCH)) $(INSTALLS.$(KBUILD_TARGET_CPU)) $(INSTALLS.$(KBUILD_TYPE)) \ 74 75 $(OTHERS) $(OTHERS.$(KBUILD_TARGET)) $(OTHERS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(OTHERS.$(KBUILD_TARGET_ARCH)) $(OTHERS.$(KBUILD_TARGET_CPU)) $(OTHERS.$(KBUILD_TYPE)) \ -
trunk/kBuild/subheader.kmk
r2018 r2084 82 82 $(PROGRAMS) $(PROGRAMS.$(KBUILD_TARGET)) $(PROGRAMS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(PROGRAMS.$(KBUILD_TARGET_ARCH)) $(PROGRAMS.$(KBUILD_TARGET_CPU)) $(PROGRAMS.$(KBUILD_TYPE)) \ 83 83 $(SYSMODS) $(SYSMODS.$(KBUILD_TARGET)) $(SYSMODS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(SYSMODS.$(KBUILD_TARGET_ARCH)) $(SYSMODS.$(KBUILD_TARGET_CPU)) $(SYSMODS.$(KBUILD_TYPE)) \ 84 $(MISCBINS) $(MISCBINS.$(KBUILD_TARGET)) $(MISCBINS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(MISCBINS.$(KBUILD_TARGET_ARCH)) $(MISCBINS.$(KBUILD_TARGET_CPU)) $(MISCBINS.$(KBUILD_TYPE)) \ 84 85 $(INSTALLS) $(INSTALLS.$(KBUILD_TARGET)) $(INSTALLS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(INSTALLS.$(KBUILD_TARGET_ARCH)) $(INSTALLS.$(KBUILD_TARGET_CPU)) $(INSTALLS.$(KBUILD_TYPE)) \ 85 86 $(OTHERS) $(OTHERS.$(KBUILD_TARGET)) $(OTHERS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(OTHERS.$(KBUILD_TARGET_ARCH)) $(OTHERS.$(KBUILD_TARGET_CPU)) $(OTHERS.$(KBUILD_TYPE)) \
Note:
See TracChangeset
for help on using the changeset viewer.