diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/test/i2c/Makefile | 12 |
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 | |||
4 | AS = sh-elf-as | 4 | AS = sh-elf-as |
5 | OC = sh-elf-objcopy | 5 | OC = sh-elf-objcopy |
6 | 6 | ||
7 | INCLUDES=-I../.. -I../../drivers | 7 | INCLUDES=-I../../common -I../.. -I../../drivers |
8 | 8 | ||
9 | CFLAGS = -g -Wall -m1 -nostdlib -Wstrict-prototypes -fschedule-insns -fno-builtin $(INCLUDES) -DDEBUG | 9 | TARGET = -DARCHOS_PLAYER_OLD=1 |
10 | |||
11 | CFLAGS = -g -Wall -m1 -nostdlib -Wstrict-prototypes -fschedule-insns -fno-builtin $(INCLUDES) $(TARGET) -DDEBUG | ||
10 | AFLAGS += -small -relax | 12 | AFLAGS += -small -relax |
11 | 13 | ||
12 | OBJS= ../../crt0.o main.o ../../drivers/i2c.o ../../drivers/mas.o \ | 14 | OBJS= ../../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 $< |