summaryrefslogtreecommitdiff
path: root/firmware/test
diff options
context:
space:
mode:
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
4AS = sh-elf-as 4AS = sh-elf-as
5OC = sh-elf-objcopy 5OC = sh-elf-objcopy
6 6
7INCLUDES=-I../.. -I../../drivers 7INCLUDES=-I../../common -I../.. -I../../drivers
8 8
9CFLAGS = -g -Wall -m1 -nostdlib -Wstrict-prototypes -fschedule-insns -fno-builtin $(INCLUDES) -DDEBUG 9TARGET = -DARCHOS_PLAYER_OLD=1
10
11CFLAGS = -g -Wall -m1 -nostdlib -Wstrict-prototypes -fschedule-insns -fno-builtin $(INCLUDES) $(TARGET) -DDEBUG
10AFLAGS += -small -relax 12AFLAGS += -small -relax
11 13
12OBJS= ../../crt0.o main.o ../../drivers/i2c.o ../../drivers/mas.o \ 14OBJS= ../../crt0.o main.o ../../drivers/i2c.o ../../drivers/mas.o \
13 ../../debug.o ../../kernel.o thread.o ../../common/sprintf.o \ 15 ../../debug.o ../../kernel.o thread.o ../../common/sprintf.o \
14 ../../panic.o ../../system.o ../../drivers/led.o mp3data.o 16 ../../panic.o ../../system.o ../../drivers/led.o \
17 ../../drivers/lcd.o ../../drivers/ata.o ../../drivers/fat.o \
18 ../../common/disk.o ../../common/file.o ../../common/dir.o
15 19
16%.o: %.S 20%.o: %.S
17 $(CC) -o $@ $(CFLAGS) $(INCLUDES) $(DEFS) -c $< 21 $(CC) -o $@ $(CFLAGS) $(INCLUDES) $(DEFS) -c $<