Subversion Repositories freemyipod

Rev

Rev 528 | Rev 660 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 528 Rev 551
Line 18... Line 18...
18
AS      := $(CROSS)as
18
AS      := $(CROSS)as
19
LD      := $(CROSS)ld
19
LD      := $(CROSS)ld
20
OBJCOPY := $(CROSS)objcopy
20
OBJCOPY := $(CROSS)objcopy
21
ELF2ECA := $(CROSS)elf2emcoreapp
21
ELF2ECA := $(CROSS)elf2emcoreapp
22
 
22
 
23
LIBINCLUDES := -I$(LIBPNGDIR)/export -I$(LIBUIDIR)/export
23
LIBINCLUDES := -I$(LIBBOOTDIR)/export -I$(LIBPNGDIR)/export -I$(LIBUIDIR)/export
24
 
24
 
25
CFLAGS  += -Os -fno-pie -fno-stack-protector -fomit-frame-pointer -I. -I$(EMCOREDIR)/export $(LIBINCLUDES) -ffunction-sections -fdata-sections -mcpu=arm940t -DARM_ARCH=4
25
CFLAGS  += -Os -fno-pie -fno-stack-protector -fomit-frame-pointer -I. -I$(EMCOREDIR)/export $(LIBINCLUDES) -ffunction-sections -fdata-sections -mcpu=arm940t -DARM_ARCH=4
26
LDFLAGS += "$(shell $(CC) -print-libgcc-file-name)" --emit-relocs --gc-sections
26
LDFLAGS += "$(shell $(CC) -print-libgcc-file-name)" --emit-relocs --gc-sections
27
 
27
 
28
preprocess = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c $(1) | grep -v "^\#")
28
preprocess = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c $(1) | grep -v "^\#")