VirtualBox

Changeset 16453 in vbox


Ignore:
Timestamp:
Feb 2, 2009 10:55:45 AM (16 years ago)
Author:
vboxsync
Message:

Config.kmk: properly handle passing alternative locations for AUTOCFG and LOCALCFG in the environment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r16434 r16453  
    601601# and to provide defaults for the settings below this point.
    602602#
    603 AUTOCFG := $(wildcard $(PATH_ROOT)/AutoConfig.kmk)
     603AUTOCFG ?= $(wildcard $(PATH_ROOT)/AutoConfig.kmk)
    604604ifeq ($(AUTOCFG),)
    605605 # deprecated name. to be removed.
     
    613613endif
    614614
    615 LOCALCFG := $(wildcard $(PATH_ROOT)/LocalConfig.kmk)
     615LOCALCFG ?= $(wildcard $(PATH_ROOT)/LocalConfig.kmk)
    616616ifeq ($(LOCALCFG),)
    617617 # deprecated name. to be removed.
     
    620620  $(warning Please rename your Config.kmklocal to LocalConfig.kmk.)
    621621 endif
     622endif
     623# We want to be able to pass an alternative location for LocalConfig.kmk
     624# without actually requiring it to exist.
     625ifeq ($(wildcard $(LOCALCFG)),)
     626 LOCALCFG=
    622627endif
    623628ifneq ($(LOCALCFG),)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette