forked from len0rd/rockbox
Makefile Fix: plugin lib includes for Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5077 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
829a6e2f09
commit
962d99a72e
1 changed files with 8 additions and 0 deletions
|
|
@ -18,6 +18,9 @@ FIRMWARE = ../../../firmware
|
||||||
# Check if this is a kind of Recorder
|
# Check if this is a kind of Recorder
|
||||||
ANYREC = $(findstring RECORDER, $(TARGET))
|
ANYREC = $(findstring RECORDER, $(TARGET))
|
||||||
|
|
||||||
|
# Check if this is an Ondio model
|
||||||
|
ANYONDIO = $(findstring ONDIO, $(TARGET))
|
||||||
|
|
||||||
# ../.. for the plugin.h in the apps dir
|
# ../.. for the plugin.h in the apps dir
|
||||||
# .. for stuff in the plugins dir
|
# .. for stuff in the plugins dir
|
||||||
# . for stuff in the pluginlib dir
|
# . for stuff in the pluginlib dir
|
||||||
|
|
@ -27,6 +30,11 @@ INCLUDES=-I../.. -I.. -I. -I$(FIRMWARE)/include -I$(FIRMWARE)/export \
|
||||||
ifeq ($(ANYREC), RECORDER)
|
ifeq ($(ANYREC), RECORDER)
|
||||||
INCLUDES += -I../../recorder
|
INCLUDES += -I../../recorder
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(ANYONDIO), ONDIO)
|
||||||
|
# use the recorder tree for now
|
||||||
|
INCLUDES += -I../../recorder
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes \
|
CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes \
|
||||||
$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM}
|
$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue