Changeset 78 for trunk/kBuild/header.kmk
- Timestamp:
- Jun 1, 2004, 3:07:24 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/header.kmk
r77 r78 129 129 endif 130 130 endif 131 BUILD_TARGET_ARCH := x86 132 BUILD_TARGET_CPU := i586 131 133 132 134 … … 275 277 # 276 278 _CFGDIR := . 277 _CFGFILES := 279 _CFGFILES := ./Config.kmk ./config.kmk 278 280 define def_include_config 279 $(eval _CFGDIR := $(_CFGDIR)/$( 1))280 _CFGFILES += $( wildcard $(_CFGDIR)/Config.kmk $(_CFGDIR)/config.kmk)281 $(eval _CFGDIR := $(_CFGDIR)/$(dir)) 282 _CFGFILES += $(_CFGDIR)/Config.kmk $(_CFGDIR)/config.kmk 281 283 endef 282 284 # walk down the _RELATIVE_ path specified by DEPTH. 283 $(foreach d ,$(subst /, ,$(DEPTH)), $(eval $(call def_include_config,$(d))) )285 $(foreach dir,$(subst /, ,$(DEPTH)), $(eval $(def_include_config)) ) 284 286 # add the default config file. 285 _CFGFILE := $(firstword $( _CFGFILES) $(FILE_KBUILD_CONFIG))287 _CFGFILE := $(firstword $(wildcard $(_CFGFILES) $(FILE_KBUILD_CONFIG))) 286 288 _CFGFILES := 287 289 _CFGDIR :=
Note:
See TracChangeset
for help on using the changeset viewer.