summaryrefslogtreecommitdiff
path: root/firmware/test
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-05-09 23:02:50 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-05-09 23:02:50 +0000
commitc5886cb4cdb72b745cd5c71981a6df37e33aea74 (patch)
tree4d04d9c529d424cbdbc0f078a960d897b2b68e8f /firmware/test
parent03c12855ef098f6ad850f889a53012538ed801bd (diff)
Added disk reading code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@531 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/test')
-rw-r--r--firmware/test/i2c/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/firmware/test/i2c/Makefile b/firmware/test/i2c/Makefile
index 0a5d78e665..9089020fae 100644
--- a/firmware/test/i2c/Makefile
+++ b/firmware/test/i2c/Makefile
@@ -4,14 +4,18 @@ AR = sh-elf-ar
AS = sh-elf-as
OC = sh-elf-objcopy
-INCLUDES=-I../.. -I../../drivers
+INCLUDES=-I../../common -I../.. -I../../drivers
-CFLAGS = -g -Wall -m1 -nostdlib -Wstrict-prototypes -fschedule-insns -fno-builtin $(INCLUDES) -DDEBUG
+TARGET = -DARCHOS_PLAYER_OLD=1
+
+CFLAGS = -g -Wall -m1 -nostdlib -Wstrict-prototypes -fschedule-insns -fno-builtin $(INCLUDES) $(TARGET) -DDEBUG
AFLAGS += -small -relax
OBJS= ../../crt0.o main.o ../../drivers/i2c.o ../../drivers/mas.o \
- ../../debug.o ../../kernel.o thread.o ../../common/sprintf.o \
- ../../panic.o ../../system.o ../../drivers/led.o mp3data.o
+ ../../debug.o ../../kernel.o thread.o ../../common/sprintf.o \
+ ../../panic.o ../../system.o ../../drivers/led.o \
+ ../../drivers/lcd.o ../../drivers/ata.o ../../drivers/fat.o \
+ ../../common/disk.o ../../common/file.o ../../common/dir.o
%.o: %.S
$(CC) -o $@ $(CFLAGS) $(INCLUDES) $(DEFS) -c $<