Subversion Repositories freemyipod

Rev

Rev 91 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 91 Rev 110
Line 5... Line 5...
5
AS      := $(CROSS)as
5
AS      := $(CROSS)as
6
LD      := $(CROSS)ld
6
LD      := $(CROSS)ld
7
OBJCOPY := $(CROSS)objcopy
7
OBJCOPY := $(CROSS)objcopy
8
UCLPACK := ucl2e10singleblk
8
UCLPACK := ucl2e10singleblk
9
 
9
 
10
CFLAGS  += -Os -fno-pie -fno-stack-protector -fomit-frame-pointer -I. -Ilibc/include -ffunction-sections -fdata-sections
10
CFLAGS  += -Os -fno-pie -fno-stack-protector -fomit-frame-pointer -I. -Ilibc/include -Iexport -ffunction-sections -fdata-sections
11
LDFLAGS += "$(shell $(CC) -print-libgcc-file-name)" --gc-sections
11
LDFLAGS += "$(shell $(CC) -print-libgcc-file-name)" --gc-sections
12
 
12
 
13
preprocess = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c $(1) | grep -v "^\#")
13
preprocess = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c $(1) | grep -v "^\#")
14
preprocesspaths = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c $(1) | grep -v "^\#" | sed -e "s:^..*:$(dir $(1))&:")
14
preprocesspaths = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c $(1) | grep -v "^\#" | sed -e "s:^..*:$(dir $(1))&:")
15
 
15