summaryrefslogtreecommitdiff
path: root/apps/modbus
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-13 20:24:30 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-13 20:24:30 +0000
commita0ebf07c2fc6e680fc440d52a0e477682cd641b7 (patch)
tree5cb43aa040cf2be867ecc2af6614546eeebdde66 /apps/modbus
parentc2325703f1ba2889eff8ad2ef43fb38c958931d7 (diff)
downloadpx4-nuttx-a0ebf07c2fc6e680fc440d52a0e477682cd641b7.tar.gz
px4-nuttx-a0ebf07c2fc6e680fc440d52a0e477682cd641b7.tar.bz2
px4-nuttx-a0ebf07c2fc6e680fc440d52a0e477682cd641b7.zip
Centralized the definition of the INCDIR script in tools/Config.mk
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5346 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/modbus')
-rw-r--r--apps/modbus/ascii/Make.defs2
-rw-r--r--apps/modbus/functions/Make.defs2
-rw-r--r--apps/modbus/nuttx/Make.defs2
-rw-r--r--apps/modbus/rtu/Make.defs2
-rw-r--r--apps/modbus/tcp/Make.defs2
5 files changed, 5 insertions, 5 deletions
diff --git a/apps/modbus/ascii/Make.defs b/apps/modbus/ascii/Make.defs
index 3e9967283..d4cb38f97 100644
--- a/apps/modbus/ascii/Make.defs
+++ b/apps/modbus/ascii/Make.defs
@@ -39,6 +39,6 @@ CSRCS += mbascii.c
DEPPATH += --dep-path ascii
VPATH += :ascii
-CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(APPDIR)/modbus/ascii}
+CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/modbus/ascii}
endif
diff --git a/apps/modbus/functions/Make.defs b/apps/modbus/functions/Make.defs
index 48f60d506..ba4a243c1 100644
--- a/apps/modbus/functions/Make.defs
+++ b/apps/modbus/functions/Make.defs
@@ -38,4 +38,4 @@ CSRCS += mbfuncinput.c mbfuncother.c mbutils.c
DEPPATH += --dep-path functions
VPATH += :functions
-CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(APPDIR)/modbus/functions}
+CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/modbus/functions}
diff --git a/apps/modbus/nuttx/Make.defs b/apps/modbus/nuttx/Make.defs
index 96484217b..3990ccd97 100644
--- a/apps/modbus/nuttx/Make.defs
+++ b/apps/modbus/nuttx/Make.defs
@@ -37,4 +37,4 @@ CSRCS += portevent.c portother.c portserial.c porttimer.c
DEPPATH += --dep-path nuttx
VPATH += :nuttx
-CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(APPDIR)/modbus/nuttx}
+CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/modbus/nuttx}
diff --git a/apps/modbus/rtu/Make.defs b/apps/modbus/rtu/Make.defs
index 8b9c68c77..d9e3b29c0 100644
--- a/apps/modbus/rtu/Make.defs
+++ b/apps/modbus/rtu/Make.defs
@@ -39,6 +39,6 @@ CSRCS += mbcrc.c mbrtu.c
DEPPATH += --dep-path rtu
VPATH += :rtu
-CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(APPDIR)/modbus/rtu}
+CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/modbus/rtu}
endif
diff --git a/apps/modbus/tcp/Make.defs b/apps/modbus/tcp/Make.defs
index 30860be3a..4cd2adb75 100644
--- a/apps/modbus/tcp/Make.defs
+++ b/apps/modbus/tcp/Make.defs
@@ -39,6 +39,6 @@ CSRCS += mbtcp.c
DEPPATH += --dep-path tcp
VPATH += :tcp
-CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(APPDIR)/modbus/tcp}
+CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/modbus/tcp}
endif