defs.mk: Make $(TOPDIR)/make/cfg_dist.mk and $(TOPDIR)/make/cfg_dev.mk optional

This commit is contained in:
Jan Lindemann 2009-05-14 15:09:47 +00:00 committed by Jan Lindemann
commit eced55b7db

View file

@ -91,10 +91,14 @@ USE_CFG_XXX_MK ?= true
ifeq ($(USE_CFG_XXX_MK),true)
ifeq ($(DEVELOPMENT),true)
-include $(MODDIR)/make/defs-dev.mk
ifneq ($(wildcard $(TOPDIR)/make/cfg_dev.mk),)
-include $(TOPDIR)/make/cfg_dev.mk
endif
else
-include $(MODDIR)/make/defs-dist.mk
ifneq ($(wildcard $(TOPDIR)/make/cfg_dist.mk),)
-include $(TOPDIR)/make/cfg_dist.mk
endif
endif
endif