diff options
Diffstat (limited to 'firmware/test/kernel/Makefile')
-rw-r--r-- | firmware/test/kernel/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/firmware/test/kernel/Makefile b/firmware/test/kernel/Makefile index 0f9f284a10..cec39b1d49 100644 --- a/firmware/test/kernel/Makefile +++ b/firmware/test/kernel/Makefile | |||
@@ -6,10 +6,15 @@ OC = sh-elf-objcopy | |||
6 | 6 | ||
7 | INCLUDES=-I../../ -I../../drivers | 7 | INCLUDES=-I../../ -I../../drivers |
8 | 8 | ||
9 | CFLAGS = -g -O -Wall -m1 -save-temps -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns -fno-builtin $(INCLUDES) | 9 | # Pick a target to build for |
10 | #TARGET = -DARCHOS_PLAYER=1 | ||
11 | TARGET = -DARCHOS_PLAYER_OLD=1 | ||
12 | #TARGET = -DARCHOS_RECORDER=1 | ||
13 | |||
14 | CFLAGS = -g -O -Wall -m1 -save-temps -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns -fno-builtin $(INCLUDES) $(TARGET) | ||
10 | AFLAGS += -small -relax | 15 | AFLAGS += -small -relax |
11 | 16 | ||
12 | OBJS= crt0.o main.o ../../thread.o ../../debug.o | 17 | OBJS= ../../crt0.o ../../drivers/lcd.o ../../system.o main.o ../../thread.o ../../debug.o |
13 | 18 | ||
14 | %.o: %.S | 19 | %.o: %.S |
15 | $(CC) -o $@ $(CFLAGS) $(INCLUDES) $(DEFS) -c $< | 20 | $(CC) -o $@ $(CFLAGS) $(INCLUDES) $(DEFS) -c $< |