Now uses librockbox.a

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@598 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-05-16 14:48:17 +00:00
parent 28af55d61a
commit 6cb1f7b08b

View file

@ -26,12 +26,12 @@ CFLAGS = -Os -W -Wall -m1 -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fs
AFLAGS += -small -relax
SRC := $(wildcard drivers/*.c common/*.c *.c)
OBJS := $(SRC:%.c=%.o) crt0.o
OBJS := $(SRC:%.c=%.o) $(FIRMWARE)/crt0.o
all : archos.mod # archos.asm
archos.elf : $(OBJS) $(FIRMWARE)/app.lds
$(CC) -nostdlib -o archos.elf $(OBJS) -lgcc -lc -T$(FIRMWARE)/app.lds -Wl,-Map,archos.map
$(CC) -nostdlib -o archos.elf $(OBJS) -lrockbox -lgcc -lc -L$(FIRMWARE) -T$(FIRMWARE)/app.lds -Wl,-Map,archos.map
archos.bin : archos.elf
$(OC) -O binary archos.elf archos.bin