diff options
author | Jens Arnold <amiconn@rockbox.org> | 2004-09-15 09:38:33 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2004-09-15 09:38:33 +0000 |
commit | 962d99a72efc0ded707d184288744d0d4337add5 (patch) | |
tree | 0d621308852bf3c0fa85b72d3b45f3a8e6c11ebd /apps/plugins | |
parent | 829a6e2f09b2523ae138c4db6fa56cc5ab8f1e32 (diff) |
Makefile Fix: plugin lib includes for Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5077 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-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 # 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} |