Changeset 16460 in vbox
- Timestamp:
- Feb 2, 2009 1:34:39 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/Config.kmk (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r16453 r16460 601 601 # and to provide defaults for the settings below this point. 602 602 # 603 AUTOCFG ?= $(wildcard $(PATH_ROOT)/AutoConfig.kmk) 604 ifeq ($(AUTOCFG),) 605 # deprecated name. to be removed. 606 AUTOCFG := $(wildcard $(PATH_ROOT)/Config.kmkconf) 607 ifneq ($(AUTOCFG),) 608 $(warning Config.kmkconf has been renamed. Please re-run configure.) 609 endif 603 ifndef AUTOCFG 604 AUTOCFG := $(wildcard $(PATH_ROOT)/AutoConfig.kmk) 610 605 endif 611 606 ifneq ($(AUTOCFG),) … … 613 608 endif 614 609 615 LOCALCFG ?= $(wildcard $(PATH_ROOT)/LocalConfig.kmk) 616 ifeq ($(LOCALCFG),) 617 # deprecated name. to be removed. 618 LOCALCFG := $(wildcard $(PATH_ROOT)/Config.kmklocal) 610 ifndef LOCALCFG 611 LOCALCFG := $(wildcard $(PATH_ROOT)/LocalConfig.kmk) 619 612 ifneq ($(LOCALCFG),) 620 $(warning Please rename your Config.kmklocal to LocalConfig.kmk.)621 endif 622 e ndif623 # We want to be able to pass an alternative location for LocalConfig.kmk 624 # without actually requiring it to exist. 625 ifeq ($(wildcard $(LOCALCFG)),)626 LOCALCFG=627 endif 628 ifneq ($(LOCALCFG),) 629 include $(LOCALCFG)613 include $(LOCALCFG) 614 endif 615 else 616 # Ignore it if it doesn't exist. 617 if exists "$(LOCALCFG)" 618 include $(LOCALCFG) 619 else 620 $(warning LOCALCFG='$(LOCALCFG)' does not exists) 621 override LOCALCFG := 622 endif 630 623 endif 631 624 … … 3626 3619 # Legacy. 3627 3620 # 3621 ## @todo try remove this. 3628 3622 ifneq ($(LOCALCFG),) 3629 3623 include $(LOCALCFG)
Note:
See TracChangeset
for help on using the changeset viewer.

