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 7ff79b5..45de4b3 100644 --- a/apps/plugins/lib/Makefile +++ b/apps/plugins/lib/Makefile @@ -18,6 +18,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)) + # ../.. for the plugin.h in the apps dir # .. for stuff in the plugins dir # . for stuff in the pluginlib dir @@ -27,6 +30,11 @@ INCLUDES=-I../.. -I.. -I. -I$(FIRMWARE)/include -I$(FIRMWARE)/export \ ifeq ($(ANYREC), RECORDER) INCLUDES += -I../../recorder endif +ifeq ($(ANYONDIO), ONDIO) +# use the recorder tree for now +INCLUDES += -I../../recorder +endif + CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes \ $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} |