Changeset 3630
- Timestamp:
- Oct 25, 2024, 11:49:17 AM (3 weeks ago)
- Location:
- trunk/kBuild
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer-pass2-compiling-targets.kmk
r3521 r3630 897 897 $($(target)_LDFLAGS.$(bld_trg).$(bld_trg_arch))\ 898 898 $($(target)_LDFLAGS.$(bld_trg_cpu)) 899 900 local targetsdks := \ 901 $($(target)_SDKS.$(bld_trg).$(bld_trg_arch))\ 902 $($(target)_SDKS.$(bld_trg_arch))\ 903 $($(target)_SDKS.$(bld_trg))\ 904 $($(target)_SDKS.$(bld_type))\ 905 $($(target)_SDKS) 906 local globalsdks := \ 907 $(SDKS.$(bld_trg).$(bld_trg_arch))\ 908 $(SDKS.$(bld_trg_arch))\ 909 $(SDKS.$(bld_trg))\ 910 $(SDKS.$(bld_type))\ 911 $(SDKS) 912 # Note! Global EARLY_LIBS and LATE_LIBS variables are ignored. 913 ## @todo ignore global LIBS and most other global properties. 899 914 local libs :=\ 915 $($(target)_EARLY_LIBS.$(bld_trg_cpu))\ 916 $($(target)_EARLY_LIBS.$(bld_trg).$(bld_trg_arch))\ 917 $($(target)_EARLY_LIBS.$(bld_trg_arch))\ 918 $($(target)_EARLY_LIBS.$(bld_trg))\ 919 $($(target)_EARLY_LIBS.$(bld_type))\ 920 $($(target)_EARLY_LIBS)\ 921 $(foreach sdk, $(targetsdks) $(globalsdks),\ 922 $(SDK_$(sdk)_EARLY_LIBS.$(bld_trg_cpu))\ 923 $(SDK_$(sdk)_EARLY_LIBS.$(bld_trg).$(bld_trg_arch))\ 924 $(SDK_$(sdk)_EARLY_LIBS.$(bld_trg_arch))\ 925 $(SDK_$(sdk)_EARLY_LIBS.$(bld_trg))\ 926 $(SDK_$(sdk)_EARLY_LIBS.$(bld_type))\ 927 $(SDK_$(sdk)_EARLY_LIBS))\ 928 $(TOOL_$(tool)_EARLY_LIBS.$(bld_trg_cpu))\ 929 $(TOOL_$(tool)_EARLY_LIBS.$(bld_trg).$(bld_trg_arch))\ 930 $(TOOL_$(tool)_EARLY_LIBS.$(bld_trg_arch))\ 931 $(TOOL_$(tool)_EARLY_LIBS.$(bld_trg))\ 932 $(TOOL_$(tool)_EARLY_LIBS.$(bld_type))\ 933 $(TOOL_$(tool)_EARLY_LIBS)\ 934 \ 900 935 $($(target)_LIBS.$(bld_trg_cpu))\ 901 936 $($(target)_LIBS.$(bld_trg).$(bld_trg_arch))\ … … 904 939 $($(target)_LIBS.$(bld_type))\ 905 940 $($(target)_LIBS)\ 906 $(foreach sdk, $($(target)_SDKS.$(bld_trg).$(bld_trg_arch)) \ 907 $($(target)_SDKS.$(bld_trg_arch)) \ 908 $($(target)_SDKS.$(bld_trg)) \ 909 $($(target)_SDKS.$(bld_type)) \ 910 $($(target)_SDKS),\ 941 $(foreach sdk, $(targetsdks),\ 911 942 $(SDK_$(sdk)_LIBS.$(bld_trg_cpu))\ 912 943 $(SDK_$(sdk)_LIBS.$(bld_trg).$(bld_trg_arch))\ … … 921 952 $(LIBS.$(bld_type))\ 922 953 $(LIBS)\ 923 $(foreach sdk, $(SDKS.$(bld_trg).$(bld_trg_arch)) \ 924 $(SDKS.$(bld_trg_arch)) \ 925 $(SDKS.$(bld_trg)) \ 926 $(SDKS.$(bld_type)) \ 927 $(SDKS),\ 954 $(foreach sdk, $(globalsdks),\ 928 955 $(SDK_$(sdk)_LIBS.$(bld_trg_cpu))\ 929 956 $(SDK_$(sdk)_LIBS.$(bld_trg).$(bld_trg_arch))\ … … 937 964 $(TOOL_$(tool)_LIBS.$(bld_trg))\ 938 965 $(TOOL_$(tool)_LIBS.$(bld_type))\ 939 $(TOOL_$(tool)_LIBS) 966 $(TOOL_$(tool)_LIBS)\ 967 \ 968 $($(target)_LATE_LIBS.$(bld_trg_cpu))\ 969 $($(target)_LATE_LIBS.$(bld_trg).$(bld_trg_arch))\ 970 $($(target)_LATE_LIBS.$(bld_trg_arch))\ 971 $($(target)_LATE_LIBS.$(bld_trg))\ 972 $($(target)_LATE_LIBS.$(bld_type))\ 973 $($(target)_LATE_LIBS)\ 974 $(foreach sdk, $(targetsdks) $(globalsdks),\ 975 $(SDK_$(sdk)_LATE_LIBS.$(bld_trg_cpu))\ 976 $(SDK_$(sdk)_LATE_LIBS.$(bld_trg).$(bld_trg_arch))\ 977 $(SDK_$(sdk)_LATE_LIBS.$(bld_trg_arch))\ 978 $(SDK_$(sdk)_LATE_LIBS.$(bld_trg))\ 979 $(SDK_$(sdk)_LATE_LIBS.$(bld_type))\ 980 $(SDK_$(sdk)_LATE_LIBS))\ 981 $(TOOL_$(tool)_LATE_LIBS.$(bld_trg_cpu))\ 982 $(TOOL_$(tool)_LATE_LIBS.$(bld_trg).$(bld_trg_arch))\ 983 $(TOOL_$(tool)_LATE_LIBS.$(bld_trg_arch))\ 984 $(TOOL_$(tool)_LATE_LIBS.$(bld_trg))\ 985 $(TOOL_$(tool)_LATE_LIBS.$(bld_type))\ 986 $(TOOL_$(tool)_LATE_LIBS) 940 987 local libpath :=\ 941 988 $($(target)_LIBPATH.$(bld_trg_cpu))\ … … 945 992 $($(target)_LIBPATH.$(bld_type))\ 946 993 $($(target)_LIBPATH)\ 947 $(foreach sdk, $($(target)_SDKS.$(bld_trg).$(bld_trg_arch)) \ 948 $($(target)_SDKS.$(bld_trg_arch)) \ 949 $($(target)_SDKS.$(bld_trg)) \ 950 $($(target)_SDKS.$(bld_type)) \ 951 $($(target)_SDKS),\ 994 $(foreach sdk, $(targetsdks),\ 952 995 $(SDK_$(sdk)_LIBPATH.$(bld_trg_cpu))\ 953 996 $(SDK_$(sdk)_LIBPATH.$(bld_trg).$(bld_trg_arch))\ … … 962 1005 $(LIBPATH.$(bld_type))\ 963 1006 $(LIBPATH)\ 964 $(foreach sdk, $(SDKS.$(bld_trg).$(bld_trg_arch)) \ 965 $(SDKS.$(bld_trg_arch)) \ 966 $(SDKS.$(bld_trg)) \ 967 $(SDKS.$(bld_type)) \ 968 $(SDKS),\ 1007 $(foreach sdk, $(globalsdks),\ 969 1008 $(SDK_$(sdk)_LIBPATH.$(bld_trg_cpu))\ 970 1009 $(SDK_$(sdk)_LIBPATH.$(bld_trg).$(bld_trg_arch))\ -
trunk/kBuild/header.kmk
r3609 r3630 1184 1184 SDKS USES SOURCES EXEC_SOURCES SRC_HANDLERS INTERMEDIATES \ 1185 1185 INCS CINCS CXXINCS PCHINCS OBJCINCS OBJCXXINCS ASINCS RCINCS \ 1186 LIBS LIBPATH \1186 EARLY_LIBS LIBS LATE_LIBS LIBPATH \ 1187 1187 DIRS BLDDIRS CLEAN 1188 1188 ## PROPS_ACCUMULATE_L_LNK 1189 1189 # Subset of PROPS_ACCUMULATE_L which applies to all linkable targets. 1190 PROPS_ACCUMULATE_L_LNK := $(filter-out LIBS LIBPATH EXEC_SOURCES DIRS, $(PROPS_ACCUMULATE_L))1190 PROPS_ACCUMULATE_L_LNK := $(filter-out EARLY_LIBS LIBS LATE_LIBS LIBPATH EXEC_SOURCES DIRS, $(PROPS_ACCUMULATE_L)) 1191 1191 1192 1192 ## PROPS_ALL … … 1199 1199 PROPS_PROGRAMS_DEFERRED := $(PROPS_DEFERRED) 1200 1200 PROPS_PROGRAMS_ACCUMULATE_R := $(PROPS_ACCUMULATE_R_LNK) LDFLAGS 1201 PROPS_PROGRAMS_ACCUMULATE_L := $(PROPS_ACCUMULATE_L_LNK) LIBS LIBPATH1201 PROPS_PROGRAMS_ACCUMULATE_L := $(PROPS_ACCUMULATE_L_LNK) EARLY_LIBS LIBS LATE_LIBS LIBPATH 1202 1202 ## @} 1203 1203 … … 1215 1215 PROPS_DLLS_DEFERRED := $(PROPS_DEFERRED) 1216 1216 PROPS_DLLS_ACCUMULATE_R := $(PROPS_ACCUMULATE_R_LNK) LDFLAGS 1217 PROPS_DLLS_ACCUMULATE_L := $(PROPS_ACCUMULATE_L_LNK) LIBS LIBPATH1217 PROPS_DLLS_ACCUMULATE_L := $(PROPS_ACCUMULATE_L_LNK) EARLY_LIBS LIBS LATE_LIBS LIBPATH 1218 1218 ## @} 1219 1219 … … 1223 1223 PROPS_SYSMODS_DEFERRED := $(PROPS_DEFERRED) 1224 1224 PROPS_SYSMODS_ACCUMULATE_R := $(PROPS_ACCUMULATE_R_LNK) LDFLAGS 1225 PROPS_SYSMODS_ACCUMULATE_L := $(PROPS_ACCUMULATE_L_LNK) LIBS LIBPATH1225 PROPS_SYSMODS_ACCUMULATE_L := $(PROPS_ACCUMULATE_L_LNK) EARLY_LIBS LIBS LATE_LIBS LIBPATH 1226 1226 ## @} 1227 1227 … … 1231 1231 PROPS_MISCBINS_DEFERRED := $(PROPS_DEFERRED) 1232 1232 PROPS_MISCBINS_ACCUMULATE_R := $(PROPS_ACCUMULATE_R_LNK) LDFLAGS 1233 PROPS_MISCBINS_ACCUMULATE_L := $(PROPS_ACCUMULATE_L_LNK) LIBS LIBPATH1233 PROPS_MISCBINS_ACCUMULATE_L := $(PROPS_ACCUMULATE_L_LNK) EARLY_LIBS LIBS LATE_LIBS LIBPATH 1234 1234 ## @} 1235 1235
Note:
See TracChangeset
for help on using the changeset viewer.