forked from len0rd/rockbox
Now uses librockbox.a
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@598 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
28af55d61a
commit
6cb1f7b08b
1 changed files with 2 additions and 2 deletions
|
@ -26,12 +26,12 @@ CFLAGS = -Os -W -Wall -m1 -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fs
|
||||||
AFLAGS += -small -relax
|
AFLAGS += -small -relax
|
||||||
|
|
||||||
SRC := $(wildcard drivers/*.c common/*.c *.c)
|
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
|
all : archos.mod # archos.asm
|
||||||
|
|
||||||
archos.elf : $(OBJS) $(FIRMWARE)/app.lds
|
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
|
archos.bin : archos.elf
|
||||||
$(OC) -O binary archos.elf archos.bin
|
$(OC) -O binary archos.elf archos.bin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue