Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lexborisov/Modest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlexborisov <lex.borisov@gmail.com>2017-03-19 11:55:37 +0300
committerlexborisov <lex.borisov@gmail.com>2017-03-19 11:55:37 +0300
commit5bf64d31c4086fc9056337cdd54fa0e37a1336c3 (patch)
treed616923eb22231f864bd575889fd1aa806ec6a38 /Makefile.cfg
parent5f5e571231101ff67389ee4b1f9c66284bbbbb80 (diff)
Change description
Diffstat (limited to 'Makefile.cfg')
-rw-r--r--Makefile.cfg9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.cfg b/Makefile.cfg
index b36d3bb..95bcb03 100644
--- a/Makefile.cfg
+++ b/Makefile.cfg
@@ -115,8 +115,13 @@ MODEST_UTILS_TO_UPCASE = $(subst a,A,$(subst b,B,$(subst c,C,$(subst d,D,$(subst
# Load platform specific rules for build
# We try to include all Rules.mk file in /source/myport/*/Rules.mk
#*******************
-MYPORT_BUILD_RULES := $(foreach path,$(wildcard $(MODEST_SOURCE)/myport/*/),$(dir $(path))Rules.mk)
--include $(MYPORT_BUILD_RULES)
+ifndef MODEST_PORT_NAME
+ MYPORT_BUILD_RULES := $(foreach path,$(wildcard $(MODEST_SOURCE)/myport/*/),$(dir $(path))Rules.mk)
+ -include $(MYPORT_BUILD_RULES)
+else
+ MYPORT_BUILD_RULES := $(MODEST_SOURCE)/myport/$(MODEST_PORT_NAME)/Rules.mk
+ -include $(MYPORT_BUILD_RULES)
+endif # def MODEST_PORT_NAME
#*******************************
# POSIX