From c5886cb4cdb72b745cd5c71981a6df37e33aea74 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 9 May 2002 23:02:50 +0000 Subject: [PATCH] Added disk reading code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@531 a1c6a512-1295-4272-9138-f99709370657 --- firmware/test/i2c/Makefile | 12 ++++++++---- 1 file 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 $<