Changeset 78 for trunk/kBuild/header.kmk


Ignore:
Timestamp:
Jun 1, 2004, 3:07:24 AM (21 years ago)
Author:
bird
Message:

..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/header.kmk

    r77 r78  
    129129endif
    130130endif
     131BUILD_TARGET_ARCH   := x86
     132BUILD_TARGET_CPU    := i586
    131133
    132134
     
    275277#
    276278_CFGDIR     := .
    277 _CFGFILES   :=
     279_CFGFILES   := ./Config.kmk ./config.kmk
    278280define 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
    281283endef
    282284# 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)) )
    284286# add the default config file.
    285 _CFGFILE    := $(firstword $(_CFGFILES) $(FILE_KBUILD_CONFIG))
     287_CFGFILE    := $(firstword $(wildcard $(_CFGFILES) $(FILE_KBUILD_CONFIG)))
    286288_CFGFILES   :=
    287289_CFGDIR     :=
Note: See TracChangeset for help on using the changeset viewer.