summaryrefslogtreecommitdiff
path: root/firmware/test/kernel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/test/kernel/Makefile')
-rw-r--r--firmware/test/kernel/Makefile9
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
7INCLUDES=-I../../ -I../../drivers 7INCLUDES=-I../../ -I../../drivers
8 8
9CFLAGS = -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
11TARGET = -DARCHOS_PLAYER_OLD=1
12#TARGET = -DARCHOS_RECORDER=1
13
14CFLAGS = -g -O -Wall -m1 -save-temps -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns -fno-builtin $(INCLUDES) $(TARGET)
10AFLAGS += -small -relax 15AFLAGS += -small -relax
11 16
12OBJS= crt0.o main.o ../../thread.o ../../debug.o 17OBJS= ../../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 $<