Changeset 1502 in kBuild
- Timestamp:
- Apr 8, 2008 12:23:15 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r1496 r1502 570 570 ifneq ($($(src)_EXTENDS_STATUS_),42) 571 571 # 'foreach' will create 'trg' in a new variable context hiding 572 # out current variable. 'src' OTOH will be overwritten. 573 #$ (warning def_inherit: recursing into $(src) from $(trg)) 572 # out current variable. 'src' OTOH will be overwritten. 574 573 $(foreach trg, $(src), $(evalval def_inherit)) 575 574 local src := $(src_prefix)$(strip $($(trg)_EXTENDS)) … … 916 915 ifndef $(target)_$(prop) 917 916 $(target)_$(prop) := $(TEMPLATE_$($(target)_TEMPLATE)_$(prop)) 918 #$ (warning dbgtarget: $(target)_$(prop):='$(value $(target)_$(prop))' TEMPLATE_$($(target)_TEMPLATE)_$(prop))919 917 endif 920 918 endif 921 919 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg) 922 920 ifndef $(target)_$(prop).$(bld_trg) 923 #$ (warning dbgsource: $(target)_$(prop).$(bld_trg)="TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg)" TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg))924 921 $(target)_$(prop).$(bld_trg) := $(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg)) 925 922 endif … … 927 924 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg).$(bld_trg_arch) 928 925 ifndef $(target)_$(prop).$(bld_trg).$(bld_trg_arch) 929 #$ (warning dbgsource: $(target)_$(prop).$(bld_trg).$(bld_trg_arch)="TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg).$(bld_trg_arch)" TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg).$(bld_trg_arch))930 926 $(target)_$(prop).$(bld_trg).$(bld_trg_arch) := $(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg).$(bld_trg_arch)) 931 927 endif … … 933 929 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_arch) 934 930 ifndef $(target)_$(prop).$(bld_trg_arch) 935 #$ (warning dbgsource: $(target)_$(prop).$(bld_trg_arch)="TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_arch)" TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_arch))936 931 $(target)_$(prop).$(bld_trg_arch) := $(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_arch)) 937 932 endif … … 939 934 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_cpu) 940 935 ifndef $(target)_$(prop).$(bld_trg_cpu) 941 #$ (warning dbgsource: $(target)_$(prop).$(bld_trg_cpu)="TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_cpu)" TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_cpu))942 936 $(target)_$(prop).$(bld_trg_cpu) := $(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_cpu)) 943 937 endif … … 954 948 ifndef $(target)_$(prop) 955 949 $(target)_$(prop) = $$(TEMPLATE_$($(target)_TEMPLATE)_$(prop)) 956 #$ (warning dbgtarget: $(target)_$(prop):='$(value $(target)_$(prop))' TEMPLATE_$($(target)_TEMPLATE)_$(prop))957 950 endif 958 951 endif 959 952 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg) 960 953 ifndef $(target)_$(prop).$(bld_trg) 961 #$ (warning dbgsource: $(target)_$(prop).$(bld_trg)="TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg)" TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg))962 954 $(target)_$(prop).$(bld_trg) = $$(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg)) 963 955 endif … … 965 957 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg).$(bld_trg_arch) 966 958 ifndef $(target)_$(prop).$(bld_trg).$(bld_trg_arch) 967 #$ (warning dbgsource: $(target)_$(prop).$(bld_trg).$(bld_trg_arch)="TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg).$(bld_trg_arch)" TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg).$(bld_trg_arch))968 959 $(target)_$(prop).$(bld_trg).$(bld_trg_arch) = $$(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg).$(bld_trg_arch)) 969 960 endif … … 971 962 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_arch) 972 963 ifndef $(target)_$(prop).$(bld_trg_arch) 973 #$ (warning dbgsource: $(target)_$(prop).$(bld_trg_arch)="TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_arch)" TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_arch))974 964 $(target)_$(prop).$(bld_trg_arch) = $$(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_arch)) 975 965 endif … … 977 967 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_cpu) 978 968 ifndef $(target)_$(prop).$(bld_trg_cpu) 979 #$ (warning dbgsource: $(target)_$(prop).$(bld_trg_cpu)="TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_cpu)" TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_cpu))980 969 $(target)_$(prop).$(bld_trg_cpu) = $$(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_cpu)) 981 970 endif … … 988 977 define def_inherit_template_one_accumulate_l 989 978 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop) 990 #$ (warning dbgtype: TEMPLATE_$($(target)_TEMPLATE)_$(prop) $(target)_$(prop)=$($(target)_$(prop)) $(TEMPLATE_$($(target)_TEMPLATE)_$(prop)))991 979 $(target)_$(prop) += $$(TEMPLATE_$($(target)_TEMPLATE)_$(prop)) 992 #$ (warning dbgtype: $(target)_$(prop)=$($(target)_$(prop)))993 980 endif 994 981 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(BUILD_TYPE) 995 #$ (warning dbg4: TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(BUILD_TYPE))996 982 $(target)_$(prop).$(BUILD_TYPE) += $$(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(BUILD_TYPE)) 997 983 endif 998 984 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg) 999 #$ (warning dbg5: TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg))1000 985 $(target)_$(prop).$(bld_trg) += $$(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg)) 1001 986 endif 1002 987 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg).$(bld_trg_arch) 1003 #$ (warning dbg4: TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg).$(bld_trg_arch))1004 988 $(target)_$(prop).$(bld_trg).$(bld_trg_arch) += $$(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg).$(bld_trg_arch)) 1005 989 endif 1006 990 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_cpu) 1007 #$ (warning dbg5: TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_cpu))1008 991 $(target)_$(prop).$(bld_trg_cpu) += $$(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_cpu)) 1009 992 endif 1010 993 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_arch) 1011 #$ (warning dbg6: TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_arch))1012 994 $(target)_$(prop).$(bld_trg_arch) += $$(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_arch)) 1013 995 endif … … 1019 1001 define def_inherit_template_one_accumulate_r 1020 1002 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop) 1021 #$ (warning dbgtype: TEMPLATE_$($(target)_TEMPLATE)_$(prop) $(target)_$(prop)=$($(target)_$(prop)) $(TEMPLATE_$($(target)_TEMPLATE)_$(prop)))1022 1003 $(target)_$(prop) <=$$(TEMPLATE_$($(target)_TEMPLATE)_$(prop)) 1023 #$ (warning dbgtype: $(target)_$(prop)=$($(target)_$(prop)))1024 1004 endif 1025 1005 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(BUILD_TYPE) 1026 #$ (warning dbg4: TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(BUILD_TYPE))1027 1006 $(target)_$(prop).$(BUILD_TYPE) <=$$(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(BUILD_TYPE)) 1028 1007 endif 1029 1008 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg) 1030 #$ (warning dbg5: TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg))1031 1009 $(target)_$(prop).$(bld_trg) <=$$(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg)) 1032 1010 endif 1033 1011 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg).$(bld_trg_arch) 1034 #$ (warning dbg4: TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg).$(bld_trg_arch))1035 1012 $(target)_$(prop).$(bld_trg).$(bld_trg_arch) <=$$(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg).$(bld_trg_arch)) 1036 1013 endif 1037 1014 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_cpu) 1038 #$ (warning dbg5: TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_cpu))1039 1015 $(target)_$(prop).$(bld_trg_cpu) <=$$(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_cpu)) 1040 1016 endif 1041 1017 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_arch) 1042 #$ (warning dbg6: TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_arch))1043 1018 $(target)_$(prop).$(bld_trg_arch) <=$$(TEMPLATE_$($(target)_TEMPLATE)_$(prop).$(bld_trg_arch)) 1044 1019 endif … … 1909 1884 1910 1885 ## wrapper the link command dependency check. 1911 ifndef NO_ COMPILE_CMDS_DEPS1886 ifndef NO_LINK_CMDS_DEPS 1912 1887 _DEP_LINK_CMDS = $$(comp-cmds-ex $$($(target)_CMDS_PREV_),$$(commands $(out)),FORCE) 1913 1888 else … … 2007 1982 local src_handler := $(firstword $(filter $(suff):%, $($(target)_$(source)_SRC_HANDLERS) $($(source)_SRC_HANDLERS) $(target_src_handlers) )) 2008 1983 local handler := $(patsubst $(suff):%,%,$(src_handler)) 2009 #$ (warning def_src_handler_one: source=$(source) suff=$(suff) src_handler=$(src_handler) handler=$(handler))2010 1984 ifneq ($(handler),) 2011 1985 $(evalval $(handler))
Note:
See TracChangeset
for help on using the changeset viewer.