summaryrefslogtreecommitdiff
path: root/apps/plugins/Makefile
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-07-08 13:12:16 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-07-08 13:12:16 +0000
commite7bb8c04287ec8baf6f89dd4f169b00ccb7d7171 (patch)
treeaf8a0d5c7140cbe5e61fae39f4e98b6e6dff3673 /apps/plugins/Makefile
parent5fd97fa2e971562f24d6e0b61148eb3c35753c74 (diff)
downloadrockbox-e7bb8c04287ec8baf6f89dd4f169b00ccb7d7171.tar.gz
rockbox-e7bb8c04287ec8baf6f89dd4f169b00ccb7d7171.zip
Added the apps/recorder dir to the include path for recorder builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4853 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/Makefile')
-rw-r--r--apps/plugins/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index 1c703f2573..d86cbf5263 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -12,11 +12,18 @@ OC = sh-elf-objcopy
12 12
13FIRMWARE = ../../firmware 13FIRMWARE = ../../firmware
14 14
15# Check if this is a kind of Recorder
16ANYREC = $(findstring RECORDER, $(TARGET))
17
15INCLUDES = -I$(FIRMWARE)/include -I$(FIRMWARE)/export -I$(FIRMWARE)/common \ 18INCLUDES = -I$(FIRMWARE)/include -I$(FIRMWARE)/export -I$(FIRMWARE)/common \
16-I$(FIRMWARE)/drivers -I.. -Ilib 19-I$(FIRMWARE)/drivers -I.. -Ilib
17CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes \ 20CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes \
18$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} -DPLUGIN 21$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} -DPLUGIN
19 22
23ifeq ($(ANYREC), RECORDER)
24INCLUDES += -I../recorder
25endif
26
20LDS := plugin.lds 27LDS := plugin.lds
21LINKFILE := $(OBJDIR)/pluginlink.lds 28LINKFILE := $(OBJDIR)/pluginlink.lds
22 29