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 | |
parent | 829a6e2f09b2523ae138c4db6fa56cc5ab8f1e32 (diff) | |
download | rockbox-962d99a72efc0ded707d184288744d0d4337add5.tar.gz rockbox-962d99a72efc0ded707d184288744d0d4337add5.zip |
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')
-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} |