Subversion Repositories freemyipod

Rev

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

Rev 535 Rev 545
Line 1... Line 1...
1
NAME := bootmenu-ipodclassic
1
NAME := bootmenu-ipodnano2g
2
STACKSIZE := 4096
2
STACKSIZE := 4096
3
COMPRESS := true
3
COMPRESS := true
4
 
4
 
5
EMCOREDIR ?= ../../emcore/trunk/
5
EMCOREDIR ?= ../../emcore/trunk/
6
LIBBOOTDIR ?= ../../libs/boot/
6
LIBBOOTDIR ?= ../../libs/boot/
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 "^\#")