]> rtime.felk.cvut.cz Git - omk/sssa.git/commitdiff
Fixed error on inclusion of config.omk if it is broken symlink
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 7 May 2008 20:07:00 +0000 (20:07 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 7 May 2008 20:07:00 +0000 (20:07 +0000)
darcs-hash:20080507200725-f2ef6-3457c372982a518f98885742f437096444e475e4.gz

snippets/base

index 412336fa50f974d918c1f606015c5a8b88f36228..cc843da8c6ed69f941323b7d7e6ef509a99da0b5 100644 (file)
@@ -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)