Subversion Repositories freemyipod

Rev

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

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