summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index 4790d1e1e5..ddd617a67a 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -15,6 +15,9 @@ FIRMWARE = ../../firmware
# Check if this is a kind of Recorder
ANYREC = $(findstring RECORDER, $(TARGET))
+# Check if this is an Ondio model
+ANYONDIO = $(findstring ONDIO, $(TARGET))
+
INCLUDES = -I$(FIRMWARE)/include -I$(FIRMWARE)/export -I$(FIRMWARE)/common \
-I$(FIRMWARE)/drivers -I.. -Ilib
CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes \
@@ -23,6 +26,10 @@ $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} -DPLUGIN
ifeq ($(ANYREC), RECORDER)
INCLUDES += -I../recorder
endif
+ifeq ($(ANYONDIO), ONDIO)
+# use the recorder tree for now
+INCLUDES += -I../recorder
+endif
LDS := plugin.lds
LINKFILE := $(OBJDIR)/pluginlink.lds