From 962d99a72efc0ded707d184288744d0d4337add5 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 15 Sep 2004 09:38:33 +0000 Subject: Makefile Fix: plugin lib includes for Ondio git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5077 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lib/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/plugins') 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 # 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} -- cgit v1.2.3