summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2010-04-11 23:37:30 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-12 20:06:21 +0200
commitcf46c10bda39030e892589bb2a05289fd698cd2a (patch)
tree1b2ea0cf8ce8723b5eb90bfa1615a897242f1fdd
parent9c0dc2abe07c53802eb1afbc287dfea8fb74fa7d (diff)
rules.mk: a little more robustness
-rw-r--r--rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index 145ca7a62..0d8aeb99b 100644
--- a/rules.mk
+++ b/rules.mk
@@ -31,8 +31,10 @@ ADK_TARGET_SUFFIX:= $(strip $(subst ",, $(ADK_TARGET_SUFFIX)))
ADK_COMPRESSION_TOOL:= $(strip $(subst ",, $(ADK_COMPRESSION_TOOL)))
ifeq ($(strip ${ADK_HAVE_DOT_CONFIG}),y)
+ifneq ($(strip $(wildcard $(TOPDIR)/target/$(ADK_TARGET)/target.mk)),)
include $(TOPDIR)/target/$(ADK_TARGET)/target.mk
endif
+endif
include $(TOPDIR)/mk/vars.mk