diff options
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r-- | apps/plugins/lib/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/lib/Makefile b/apps/plugins/lib/Makefile index 7ff79b5342..45de4b32e9 100644 --- a/apps/plugins/lib/Makefile +++ b/apps/plugins/lib/Makefile | |||
@@ -18,6 +18,9 @@ FIRMWARE = ../../../firmware | |||
18 | # Check if this is a kind of Recorder | 18 | # Check if this is a kind of Recorder |
19 | ANYREC = $(findstring RECORDER, $(TARGET)) | 19 | ANYREC = $(findstring RECORDER, $(TARGET)) |
20 | 20 | ||
21 | # Check if this is an Ondio model | ||
22 | ANYONDIO = $(findstring ONDIO, $(TARGET)) | ||
23 | |||
21 | # ../.. for the plugin.h in the apps dir | 24 | # ../.. for the plugin.h in the apps dir |
22 | # .. for stuff in the plugins dir | 25 | # .. for stuff in the plugins dir |
23 | # . for stuff in the pluginlib dir | 26 | # . for stuff in the pluginlib dir |
@@ -27,6 +30,11 @@ INCLUDES=-I../.. -I.. -I. -I$(FIRMWARE)/include -I$(FIRMWARE)/export \ | |||
27 | ifeq ($(ANYREC), RECORDER) | 30 | ifeq ($(ANYREC), RECORDER) |
28 | INCLUDES += -I../../recorder | 31 | INCLUDES += -I../../recorder |
29 | endif | 32 | endif |
33 | ifeq ($(ANYONDIO), ONDIO) | ||
34 | # use the recorder tree for now | ||
35 | INCLUDES += -I../../recorder | ||
36 | endif | ||
37 | |||
30 | 38 | ||
31 | CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes \ | 39 | CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes \ |
32 | $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} | 40 | $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} |