Added DEBUG macro. Now uses our own sprintf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@385 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d85d4637bc
commit
9376d05a3b
1 changed files with 4 additions and 3 deletions
|
@ -11,11 +11,12 @@ INCLUDES=-I../../ -I../../drivers
|
|||
TARGET = -DARCHOS_PLAYER_OLD=1
|
||||
#TARGET = -DARCHOS_RECORDER=1
|
||||
|
||||
CFLAGS = -g -O -Wall -m1 -save-temps -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns -fno-builtin $(INCLUDES) $(TARGET)
|
||||
CFLAGS = -g -O -Wall -m1 -save-temps -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns -fno-builtin $(INCLUDES) $(TARGET) -DDEBUG
|
||||
AFLAGS += -small -relax
|
||||
|
||||
OBJS= ../../crt0.o ../../system.o main.o timer.o \
|
||||
../../thread.o ../../kernel.o ../../drivers/led.o ../../debug.o
|
||||
OBJS= ../../crt0.o ../../system.o main.o timer.o \
|
||||
../../thread.o ../../kernel.o ../../drivers/led.o \
|
||||
../../debug.o ../../common/sprintf.o
|
||||
|
||||
%.o: %.S
|
||||
$(CC) -o $@ $(CFLAGS) $(INCLUDES) $(DEFS) -c $<
|
||||
|
|
Loading…
Reference in a new issue