summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-09-09 06:01:46 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-09-09 06:01:46 +0000
commit218d90b307f874570f97be9a79943c4acc582b18 (patch)
treef5a4549e9069cd9e1c1fdcb760c41f61369f20bb /apps/plugins
parent4f52bf4c812230bbef4dae084242c9d26f9ff2f4 (diff)
downloadrockbox-218d90b307f874570f97be9a79943c4acc582b18.zip
rockbox-218d90b307f874570f97be9a79943c4acc582b18.tar.gz
rockbox-218d90b307f874570f97be9a79943c4acc582b18.tar.bz2
rockbox-218d90b307f874570f97be9a79943c4acc582b18.tar.xz
build system updated to include Ondio option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5052 a1c6a512-1295-4272-9138-f99709370657
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 4790d1e..ddd617a 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