Changeset 725
- Timestamp:
- Dec 15, 2006, 6:18:47 AM (19 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r723 r725 185 185 no-root-slash=$(patsubst /%,%,$(1)) 186 186 187 ifneq ($(filter abspathex,$(KMK_FEATURES)),abspathex) ## @todo Retire this to gnumake-header.kmk when it has been implemented. 188 ## Converts an relative path to an absolute path using the given CWD. 189 # @returns absolute path. 190 # @param $1 The path to fixup. 191 # @param $2 The CWD to use. 192 abspathex = $(foreach _fix_path,$1\ 193 ,$(if $(subst :$(call no-root-slash,$(call no-drive,$(_fix_path))):,,:$(_fix_path):),$(_fix_path),$(abspath $2/$(_fix_path)))) 194 endif 195 187 196 ## Figure out where to put object files. 188 197 # @param $1 source file … … 1127 1136 ## Generic macro for processing all target sources. 1128 1137 # @param $(target) Normalized target name. 1138 # @param $(defpath) 1139 # @param much-more... 1129 1140 define def_target_sources 1141 1142 # Apply any default path on the sources first. 1143 ifneq ($(defpath),) 1144 ifdef $(target)_SOURCES 1145 $(target)_SOURCES := $(call abspathex,$($(target)_SOURCES),$(defpath)) 1146 endif 1147 ifdef $(target)_SOURCES.$(bld_trg) 1148 $(target)_SOURCES.$(bld_trg) := $(call abspathex,$($(target)_SOURCES.$(bld_trg)),$(defpath)) 1149 endif 1150 ifdef $(target)_SOURCES.$(bld_trg).$(bld_trg_arch) 1151 $(target)_SOURCES.$(bld_trg).$(bld_trg_arch) := $(call abspathex,$($(target)_SOURCES.$(bld_trg).$(bld_trg_arch)),$(defpath)) 1152 endif 1153 ifdef $(target)_SOURCES.$(bld_trg_arch) 1154 $(target)_SOURCES.$(bld_trg_arch) := $(call abspathex,$($(target)_SOURCES.$(bld_trg_arch)),$(defpath)) 1155 endif 1156 ifdef $(target)_SOURCES.$(bld_trg_cpu) 1157 $(target)_SOURCES.$(bld_trg_cpu) := $(call abspathex,$($(target)_SOURCES.$(bld_trg_cpu)),$(defpath)) 1158 endif 1159 ifdef $(target)_SOURCES.$(bld_type) 1160 $(target)_SOURCES.$(bld_type) := $(call abspathex,$($(target)_SOURCES.$(bld_type)),$(defpath)) 1161 endif 1162 endif 1163 1130 1164 #$ (warning def_target_sources) 1131 1165 # C sources … … 1217 1251 TARGET_$(target) := $(out) 1218 1252 $(target)_OBJS_ := 1253 defpath := $($(target)_PATH) 1219 1254 1220 1255 # source -> object … … 1254 1289 deps := $($(target)_DEPS) 1255 1290 1291 # Adjust paths if we got a default path. 1292 ifneq ($(defpath),) 1293 objs := $(call abspathex,$(objs),$(defpath)) 1294 deps := $(call abspathex,$(deps),$(defpath)) 1295 endif 1296 1256 1297 # dependency file 1257 1298 dep := $(out)$(SUFF_DEP) … … 1328 1369 TARGET_$(target) := $(out) 1329 1370 $(target)_OBJS_ := 1371 defpath := $($(target)_PATH) 1330 1372 1331 1373 # source -> object … … 1455 1497 deps := $($(target)_DEPS) 1456 1498 1499 # Adjust paths if we got a default path. 1500 ifneq ($(defpath),) 1501 libpath := $(call abspathex,$(libpath)def $(target)_PATH) 1502 objs := $(call abspathex,$(objs),$(defpath)) 1503 deps := $(call abspathex,$(deps),$(defpath)) 1504 # libs are not subject to this because of the the -l<lib> stuff. Use $(<target>_PATH)/lib if relative to current dir! 1505 endif 1506 1457 1507 ## @todo this stuff can't be working. 1458 1508 custom_pre := $(strip $(firstword \ … … 1662 1712 # _INSTFUN 1663 1713 ifdef $(srcsrc)_INSTFUN 1664 instfun := $(srcsrc)_INSTFUN1714 instfun := $(srcsrc)_INSTFUN 1665 1715 else 1666 ifdef $(target)_INSTFUN1667 instfun := $(target)_INSTFUN1668 else1669 instfun := _INSTALL_FILE1670 endif1716 ifdef $(target)_INSTFUN 1717 instfun := $(target)_INSTFUN 1718 else 1719 instfun := _INSTALL_FILE 1720 endif 1671 1721 endif 1672 1722 1673 1723 # _INST 1674 1724 ifdef $(srcsrc)_INST 1675 inst := $(patsubst %/,%,$($(srcsrc)_INST))/$(dir $(srcdstdir))1725 inst := $(patsubst %/,%,$($(srcsrc)_INST))/$(dir $(srcdstdir)) 1676 1726 else 1677 ifdef $(target)_INST1678 inst := $(patsubst %/,%,$($(target)_INST))/$(dir $(srcdstdir))1679 else1680 inst := $(dir $(srcdstdir))1681 endif1727 ifdef $(target)_INST 1728 inst := $(patsubst %/,%,$($(target)_INST))/$(dir $(srcdstdir)) 1729 else 1730 inst := $(dir $(srcdstdir)) 1731 endif 1682 1732 endif 1683 1733 … … 1736 1786 $($(target)_GID)) 1737 1787 1788 1789 # Adjust the source if we got a default PATH. (This must be done this late!) 1790 ifdef $(target)_PATH 1791 srcsrc := $(call abspathex,$(srcsrc),$($(target)_PATH)) 1792 endif 1793 1738 1794 # create the command 1739 1795 ifdef $(srcsrc)_INSTALLER 1740 inscmd := $(call $(srcsrc)_INSTALLER,$(srcsrc),$(insdst),$(target))1796 inscmd := $(call $(srcsrc)_INSTALLER,$(srcsrc),$(insdst),$(target)) 1741 1797 else 1742 ifdef $(target)_INSTALLER1743 inscmd := $(call $(target)_INSTALLER,$(srcsrc),$(insdst),$(target))1744 else1745 inscmd := $$(INSTALL)\1798 ifdef $(target)_INSTALLER 1799 inscmd := $(call $(target)_INSTALLER,$(srcsrc),$(insdst),$(target)) 1800 else 1801 inscmd := $$(INSTALL)\ 1746 1802 $(if $(uid),-o $(uid))\ 1747 1803 $(if $(gid),-g $(gid))\ 1748 1804 $(if $(mode),-m $(mode))\ 1749 1805 $(srcsrc) $(insdst) 1750 endif1806 endif 1751 1807 endif 1752 1808 … … 1788 1844 # _INST 1789 1845 ifdef $(symlnk)_INST 1790 inst := $(patsubst %/,%,$($(symlnk)_INST))/$(dir $(symlnk))1846 inst := $(patsubst %/,%,$($(symlnk)_INST))/$(dir $(symlnk)) 1791 1847 else 1792 ifdef $(target)_INST1793 inst := $(patsubst %/,%,$($(target)_INST))/$(dir $(symlnk))1794 else1795 inst := $(dir $(symlnk))1796 endif1848 ifdef $(target)_INST 1849 inst := $(patsubst %/,%,$($(target)_INST))/$(dir $(symlnk)) 1850 else 1851 inst := $(dir $(symlnk)) 1852 endif 1797 1853 endif 1798 1854 … … 1828 1884 # _INST 1829 1885 ifdef $(directory)_INST 1830 inst := $(PATH_INS)/$(patsubst %/,%,$($(directory)_INST))1886 inst := $(PATH_INS)/$(patsubst %/,%,$($(directory)_INST)) 1831 1887 else 1832 ifdef $(target)_INST1833 inst := $(PATH_INS)/$(patsubst %/,%,$($(target)_INST))1834 else1835 inst := $(PATH_INS)1836 endif1888 ifdef $(target)_INST 1889 inst := $(PATH_INS)/$(patsubst %/,%,$($(target)_INST)) 1890 else 1891 inst := $(PATH_INS) 1892 endif 1837 1893 endif 1838 1894 … … 2142 2198 endif # __footer_kmk__ 2143 2199 2200 -
trunk/kBuild/header.kmk
r724 r725 156 156 # Common definitions. 157 157 # 158 ## PATH_CURRENT is the current directory (getcwd). 158 159 PATH_CURRENT := $(abspath $(CURDIR)) 160 ## PATH_SUB_CURRENT points to current directory of the current makefile. 161 # Meaning that it will change value as we enter and exit sub-makefiles. 162 PATH_SUB_CURRENT := $(PATH_CURRENT) 163 ## PATH_ROOT points to the project root directory. 164 PATH_ROOT := $(abspath $(PATH_CURRENT)/$(DEPTH)) 165 ## PATH_SUB_ROOT points to the directory of the top-level makefile. 159 166 ifneq ($(strip $(SUB_DEPTH)),) 160 PATH_SUB_CURRENT:= $(abspath $(PATH_CURRENT)/$(SUB_DEPTH))161 else 162 PATH_SUB_CURRENT:= $(PATH_CURRENT)163 endif 164 PATH_ROOT := $(abspath $(PATH_CURRENT)/$(DEPTH)) 165 166 # Subdirectory relative to the root.167 PATH_SUB_ROOT := $(abspath $(PATH_CURRENT)/$(SUB_DEPTH)) 168 else 169 PATH_SUB_ROOT := $(PATH_CURRENT) 170 endif 171 172 ## CURSUBDIR is PATH_SUB_ROOT described relative to PATH_ROOT. 173 # This variable is used to determin where the object files and other output goes. 167 174 ifneq ($(PATH_ROOT),$(PATH_CURRENT)) 168 CURSUBDIR := $(patsubst $(PATH_ROOT)/%,%,$(PATH_SUB_ CURRENT))175 CURSUBDIR := $(patsubst $(PATH_ROOT)/%,%,$(PATH_SUB_ROOT)) 169 176 else 170 177 CURSUBDIR := . … … 173 180 # Output directories. 174 181 ifndef PATH_OUT_BASE 175 PATH_OUT_BASE:= $(PATH_ROOT)/out182 PATH_OUT_BASE := $(PATH_ROOT)/out 176 183 endif 177 184 ifndef PATH_OUT 178 ifdef BUILD_TARGET_SUB # (BUILD_TARGET_SUB is not currently recognized by kBuild in any other places.)179 PATH_OUT:= $(PATH_OUT_BASE)/$(BUILD_TARGET).$(BUILD_TARGET_ARCH).$(BUILD_TARGET_SUB)/$(BUILD_TYPE)180 else181 PATH_OUT:= $(PATH_OUT_BASE)/$(BUILD_TARGET).$(BUILD_TARGET_ARCH)/$(BUILD_TYPE)182 endif185 ifdef BUILD_TARGET_SUB # (BUILD_TARGET_SUB is not currently recognized by kBuild in any other places.) 186 PATH_OUT := $(PATH_OUT_BASE)/$(BUILD_TARGET).$(BUILD_TARGET_ARCH).$(BUILD_TARGET_SUB)/$(BUILD_TYPE) 187 else 188 PATH_OUT := $(PATH_OUT_BASE)/$(BUILD_TARGET).$(BUILD_TARGET_ARCH)/$(BUILD_TYPE) 189 endif 183 190 endif # !define PATH_OUT 184 191 PATH_OBJ = $(PATH_OUT)/obj … … 193 200 # Usually kBuild is external to the source tree. 194 201 ifndef PATH_KBUILD 195 PATH_KBUILD:= $(PATH_ROOT)/kBuild202 PATH_KBUILD := $(PATH_ROOT)/kBuild 196 203 endif 197 204 PATH_KBUILD := $(abspath $(PATH_KBUILD)) 198 205 # kBuild files which might be of interest. 199 206 FILE_KBUILD_HEADER := $(PATH_KBUILD)/header.kmk 200 FILE_KBUILD_CONFIG := $(PATH_KBUILD)/config.kmk207 #FILE_KBUILD_CONFIG := $(PATH_KBUILD)/config.kmk 201 208 FILE_KBUILD_FOOTER := $(PATH_KBUILD)/footer.kmk 202 209 203 210 SUFF_DEP := .dep 211 ## MAKEFILE is the name of the main makefile. 204 212 MAKEFILE := $(firstword $(MAKEFILE_LIST)) 213 ## MAKEFILE_CURRENT is the name of the current makefile. 214 # This is updated everything a sub-makefile is included. 215 MAKEFILE_CURRENT := $(MAKEFILE) 205 216 206 217 -
trunk/kBuild/subfooter.kmk
r665 r725 25 25 # 26 26 27 _SUB_MAKEFILE_STACK := $(filter-out $(words $(_SUB_MAKEFILE_STACK)), $(_SUB_MAKEFILE_STACK)) 28 ifeq ($(words $(_SUB_MAKEFILE_STACK)),0) 29 include $(PATH_KBUILD)/footer.kmk 27 28 # 29 # Set the default path for all new targets. 30 # 31 define def_subheader 32 ifndef $(target)_PATH 33 $(target)_PATH := $(PATH_SUB_CURRENT) 34 endif 35 ifndef $(target)_MAKEFILE 36 $(target)_MAKEFILE := $(MAKEFILE_CURRENT) 37 endif 38 endef 39 40 $(foreach target,\ 41 $(ALL_TARGETS) \ 42 $(FETCHES) $(FETCHES.$(BUILD_TARGET)) $(FETCHES.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 43 $(PATCHES) $(PATCHES.$(BUILD_TARGET)) $(PATCHES.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 44 $(BLDPROGS) $(BLDPROGS.$(BUILD_PLATFORM)) $(BLDPROGS.$(BUILD_PLATFORM).$(BUILD_PLATFORM_ARCH)) \ 45 $(LIBRARIES) $(LIBRARIES.$(BUILD_TARGET)) $(LIBRARIES.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 46 $(IMPORT_LIBS) $(IMPORT_LIBS.$(BUILD_TARGET)) $(IMPORT_LIBS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 47 $(DLLS) $(DLLS.$(BUILD_TARGET)) $(DLLS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 48 $(PROGRAMS) $(PROGRAMS.$(BUILD_TARGET)) $(PROGRAMS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 49 $(SYSMODS) $(SYSMODS.$(BUILD_TARGET)) $(SYSMODS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 50 $(INSTALLS) $(INSTALLS.$(BUILD_TARGET)) $(INSTALLS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 51 $(OTHERS) $(OTHERS.$(BUILD_TARGET)) $(OTHERS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 52 ,$(eval $(def_subheader))) 53 54 55 # 56 # Switch back to the context of previous makefile on the stack. 57 # 58 MAKEFILE_CURRENT := $(call stack-pop,_SUB_MAKEFILE_STACK) 59 PATH_SUB_CURRENT := $(abspath $(patsubst %/,%,$(dir $(MAKEFILE_CURRENT)))) 60 61 # 62 # When we reach the last makefile we include the footer. 63 # 64 ifeq ($(_SUB_MAKEFILE_STACK),) 65 include $(PATH_KBUILD)/footer.kmk 30 66 endif 31 67 -
trunk/kBuild/subheader.kmk
r665 r725 26 26 27 27 ifndef _SUB_MAKEFILE_STACK 28 _SUB_MAKEFILE_STACK := 1 29 include $(PATH_KBUILD)/header.kmk 28 # 29 # The first time we just take the makefile context set by header.kmk. 30 # 31 include $(PATH_KBUILD)/header.kmk 32 30 33 else 31 _SUB_MAKEFILE_STACK := $(_SUB_MAKEFILE_STACK) $(words $(_SUB_MAKEFILE_STACK) 1) 34 35 # 36 # Set the default path and makefile for all new targets. 37 # 38 define def_subfooter 39 ifndef $(target)_PATH 40 $(target)_PATH := $(PATH_SUB_CURRENT) 41 endif 42 ifndef $(target)_MAKEFILE 43 $(target)_MAKEFILE := $(MAKEFILE_CURRENT) 44 endif 45 endef 46 47 $(foreach target,\ 48 $(ALL_TARGETS) \ 49 $(FETCHES) $(FETCHES.$(BUILD_TARGET)) $(FETCHES.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 50 $(PATCHES) $(PATCHES.$(BUILD_TARGET)) $(PATCHES.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 51 $(BLDPROGS) $(BLDPROGS.$(BUILD_PLATFORM)) $(BLDPROGS.$(BUILD_PLATFORM).$(BUILD_PLATFORM_ARCH)) \ 52 $(LIBRARIES) $(LIBRARIES.$(BUILD_TARGET)) $(LIBRARIES.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 53 $(IMPORT_LIBS) $(IMPORT_LIBS.$(BUILD_TARGET)) $(IMPORT_LIBS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 54 $(DLLS) $(DLLS.$(BUILD_TARGET)) $(DLLS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 55 $(PROGRAMS) $(PROGRAMS.$(BUILD_TARGET)) $(PROGRAMS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 56 $(SYSMODS) $(SYSMODS.$(BUILD_TARGET)) $(SYSMODS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 57 $(INSTALLS) $(INSTALLS.$(BUILD_TARGET)) $(INSTALLS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 58 $(OTHERS) $(OTHERS.$(BUILD_TARGET)) $(OTHERS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) \ 59 ,$(eval $(def_subfooter))) 60 61 62 # 63 # Switch context. 64 # 65 __tmp := $(MAKEFILE_LIST) 66 $(call stack-popv,__tmp) 67 MAKEFILE_CURRENT := $(call stack-top,__tmp) 68 PATH_SUB_CURRENT := $(abspath $(patsubst %/,%,$(dir $(MAKEFILE_CURRENT)))) 32 69 endif 33 70 71 $(call stack-push,_SUB_MAKEFILE_STACK,$(MAKEFILE_CURRENT)) 72 -
trunk/src/gmake/function.c
r720 r725 2119 2119 return o; 2120 2120 } 2121 2122 #ifdef CONFIG_WITH_ABSPATHEX 2123 /* same as abspath except that the current path is given as the 2nd argument. */ 2124 static char * 2125 func_abspathex (char *o, char **argv, const char *funcname UNUSED) 2126 { 2127 /* Expand the argument. */ 2128 char *p = argv[0]; 2129 PATH_VAR (current_directory); 2130 char *cwd = argv[1]; 2131 unsigned int cwd_len = ~0U; 2132 char *path = 0; 2133 int doneany = 0; 2134 unsigned int len = 0; 2135 PATH_VAR (in); 2136 PATH_VAR (out); 2137 2138 while ((path = find_next_token (&p, &len)) != 0) 2139 { 2140 if (len < GET_PATH_MAX) 2141 { 2142 #ifdef HAVE_DOS_PATHS 2143 if (path[0] != '/' && path[0] != '\\' && (len < 2 || path[1] != ':') && cwd) 2144 #else 2145 if (path[0] != '/' && cwd) 2146 #endif 2147 { 2148 /* relative path, prefix with cwd. */ 2149 if (cwd_len == ~0U) 2150 cwd_len = strlen (cwd); 2151 if (cwd_len + len + 1 >= GET_PATH_MAX) 2152 continue; 2153 memcpy (in, cwd, cwd_len) 2154 in[cwd_len] = '/'; 2155 memcpy (in + cwd_len + 1, path, len); 2156 in[cwd_len + len + 1] = '\0'; 2157 } 2158 else 2159 { 2160 /* absolute path pass it as-is. */ 2161 memcpy (in, path, len); 2162 in[len] = '\0'; 2163 } 2164 2165 if (abspath (in, out)) 2166 { 2167 o = variable_buffer_output (o, out, strlen (out)); 2168 o = variable_buffer_output (o, " ", 1); 2169 doneany = 1; 2170 } 2171 } 2172 } 2173 2174 /* Kill last space. */ 2175 if (doneany) 2176 --o; 2177 2178 return o; 2179 } 2180 #endif 2121 2181 2122 2182 #ifdef CONFIG_WITH_TOUPPER_TOLOWER … … 2378 2438 { STRING_SIZE_TUPLE("tolower"), 0, 1, 1, func_toupper_tolower}, 2379 2439 #endif 2440 #ifdef CONFIG_WITH_ABSPATHEX 2441 { STRING_SIZE_TUPLE("abspathex"), 0, 2, 1, func_abspathex}, 2442 #endif 2380 2443 #if defined(CONFIG_WITH_VALUE_LENGTH) && defined(CONFIG_WITH_COMPARE) 2381 2444 { STRING_SIZE_TUPLE("comp-vars"), 3, 3, 1, func_comp_vars}, -
trunk/src/gmake/kbuild.c
r646 r725 788 788 struct variable *pType, struct variable *pBldType, 789 789 struct variable *pBldTrg, struct variable *pBldTrgArch, struct variable *pBldTrgCpu, 790 struct variable *pDefPath, 790 791 const char *pszProp, const char *pszVarName, int iDirection) 791 792 { … … 1002 1003 paVars[iVar].cchExp = strlen(paVars[iVar].pszExp); 1003 1004 } 1005 if (pDefPath) 1006 { 1007 /** @todo */ 1008 } 1004 1009 cchTotal += paVars[iVar].cchExp + 1; 1005 1010 } … … 1030 1035 } 1031 1036 1032 /* get a source property. */1037 /* get a source property. Doesn't respect the default path. */ 1033 1038 char * 1034 1039 func_kbuild_source_prop(char *o, char **argv, const char *pszFuncName) … … 1056 1061 pVar = kbuild_collect_source_prop(pTarget, pSource, pTool, &Sdks, pType, 1057 1062 pBldType, pBldTrg, pBldTrgArch, pBldTrgCpu, 1063 NULL, 1058 1064 argv[0], argv[1], iDirection); 1059 1065 if (pVar) … … 1190 1196 struct variable *pTarget = kbuild_get_variable("target"); 1191 1197 struct variable *pSource = kbuild_get_variable("source"); 1198 struct variable *pDefPath = kbuild_get_variable("defpath"); 1192 1199 struct variable *pType = kbuild_get_variable("type"); 1193 1200 struct variable *pBldType = kbuild_get_variable("bld_type"); … … 1207 1214 kbuild_get_sdks(&Sdks, pTarget, pSource, pBldType, pBldTrg, pBldTrgArch); 1208 1215 1209 pDefs = kbuild_collect_source_prop(pTarget, pSource, pTool, &Sdks, pType, pBldType, pBldTrg, pBldTrgArch, pBldTrgCpu, 1216 if (pDefPath && !pDefPath->value_length) 1217 pDefPath = NULL; 1218 pDefs = kbuild_collect_source_prop(pTarget, pSource, pTool, &Sdks, pType, pBldType, pBldTrg, pBldTrgArch, pBldTrgCpu, NULL, 1210 1219 "DEFS", "defs", 1/* left-to-right */); 1211 pIncs = kbuild_collect_source_prop(pTarget, pSource, pTool, &Sdks, pType, pBldType, pBldTrg, pBldTrgArch, pBldTrgCpu, 1220 pIncs = kbuild_collect_source_prop(pTarget, pSource, pTool, &Sdks, pType, pBldType, pBldTrg, pBldTrgArch, pBldTrgCpu, NULL, 1212 1221 "INCS", "incs", -1/* right-to-left */); 1213 pFlags = kbuild_collect_source_prop(pTarget, pSource, pTool, &Sdks, pType, pBldType, pBldTrg, pBldTrgArch, pBldTrgCpu, 1222 pFlags = kbuild_collect_source_prop(pTarget, pSource, pTool, &Sdks, pType, pBldType, pBldTrg, pBldTrgArch, pBldTrgCpu, pDefPath, 1214 1223 "FLAGS", "flags", 1/* left-to-right */); 1215 pDeps = kbuild_collect_source_prop(pTarget, pSource, pTool, &Sdks, pType, pBldType, pBldTrg, pBldTrgArch, pBldTrgCpu, 1224 pDeps = kbuild_collect_source_prop(pTarget, pSource, pTool, &Sdks, pType, pBldType, pBldTrg, pBldTrgArch, pBldTrgCpu, pDefPath, 1216 1225 "DEPS", "deps", 1/* left-to-right */); 1217 1226
Note:
See TracChangeset
for help on using the changeset viewer.