diff options
Diffstat (limited to 'firmware/test/kernel/Makefile')
-rw-r--r-- | firmware/test/kernel/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/test/kernel/Makefile b/firmware/test/kernel/Makefile index 2a9ef0f71b..be82abfcb9 100644 --- a/firmware/test/kernel/Makefile +++ b/firmware/test/kernel/Makefile | |||
@@ -11,11 +11,11 @@ INCLUDES=-I../../ -I../../drivers | |||
11 | TARGET = -DARCHOS_PLAYER_OLD=1 | 11 | TARGET = -DARCHOS_PLAYER_OLD=1 |
12 | #TARGET = -DARCHOS_RECORDER=1 | 12 | #TARGET = -DARCHOS_RECORDER=1 |
13 | 13 | ||
14 | CFLAGS = -g -O -Wall -m1 -save-temps -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns -fno-builtin $(INCLUDES) $(TARGET) -DDEBUG | 14 | CFLAGS = -g -Wall -m1 -save-temps -nostdlib -Wstrict-prototypes -fschedule-insns -fno-builtin $(INCLUDES) $(TARGET) -DDEBUG |
15 | AFLAGS += -small -relax | 15 | AFLAGS += -small -relax |
16 | 16 | ||
17 | OBJS= ../../crt0.o ../../system.o main.o ../../panic.o ../../drivers/lcd.o \ | 17 | OBJS= ../../crt0.o ../../system.o main.o ../../panic.o ../../drivers/lcd.o \ |
18 | ../../thread.o ../../kernel.o ../../drivers/led.o \ | 18 | thread.o ../../kernel.o ../../drivers/led.o \ |
19 | ../../debug.o ../../common/sprintf.o | 19 | ../../debug.o ../../common/sprintf.o |
20 | 20 | ||
21 | %.o: %.S | 21 | %.o: %.S |
@@ -47,3 +47,6 @@ clean: | |||
47 | 47 | ||
48 | install: | 48 | install: |
49 | mount /mnt/archos; cp archos.mod /mnt/archos; umount /mnt/archos | 49 | mount /mnt/archos; cp archos.mod /mnt/archos; umount /mnt/archos |
50 | |||
51 | thread.o: ../../thread.c | ||
52 | $(CC) -O -fomit-frame-pointer -c $(CFLAGS) $< | ||