From 078973d0d3f2e25b1181e7f465ad055249076b91 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Wed, 7 May 2008 20:07:00 +0000 Subject: [PATCH] Fixed error on inclusion of config.omk if it is broken symlink darcs-hash:20080507200725-f2ef6-3457c372982a518f98885742f437096444e475e4.gz --- snippets/base | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- 2.39.2