From: Michal Sojka Date: Wed, 7 May 2008 20:07:00 +0000 (+0000) Subject: Fixed error on inclusion of config.omk if it is broken symlink X-Git-Url: http://rtime.felk.cvut.cz/gitweb/omk/sssa.git/commitdiff_plain/078973d0d3f2e25b1181e7f465ad055249076b91?ds=sidebyside Fixed error on inclusion of config.omk if it is broken symlink darcs-hash:20080507200725-f2ef6-3457c372982a518f98885742f437096444e475e4.gz --- diff --git a/snippets/base b/snippets/base index 412336f..cc843da 100644 --- a/snippets/base +++ b/snippets/base @@ -59,6 +59,9 @@ endif #========================= # Include the config file +# FIXME: I think CONFIG_FILE_OK variable is useless. We have three +# config files and it is not clearly defined to which file is this +# variable related. ifneq ($(CONFIG_FILE_OK),y) ifndef CONFIG_FILE CONFIG_FILE := $(MAKERULES_DIR)/config.omk @@ -74,7 +77,7 @@ endif -include $(MAKERULES_DIR)/config.target ifneq ($(wildcard $(CONFIG_FILE)),) -include $(CONFIG_FILE) +-include $(CONFIG_FILE) CONFIG_FILE_OK = y endif endif #$(CONFIG_FILE_OK)