Subversion Repositories freemyipod

Rev

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

Rev 665 Rev 666
Line 15... Line 15...
15
 
15
 
16
CFLAGS  += -Os -fno-pie -fno-stack-protector -fomit-frame-pointer -I. -Iexport -ffunction-sections -fdata-sections
16
CFLAGS  += -Os -fno-pie -fno-stack-protector -fomit-frame-pointer -I. -Iexport -ffunction-sections -fdata-sections
17
LDFLAGS += "$(shell $(CC) -print-libgcc-file-name)" --gc-sections
17
LDFLAGS += "$(shell $(CC) -print-libgcc-file-name)" --gc-sections
18
 
18
 
19
preprocess = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c $(1) | grep -v "^\#")
19
preprocess = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c $(1) | grep -v "^\#")
20
preprocesspaths = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c $(1) | grep -v "^\#" | sed -e "s:^..*:$(dir $(1))&:")
20
preprocesspaths = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c $(1) | grep -v "^\#" | sed -e "s:^..*:$(dir $(1))&:" | sed -e "s:^\\./::")
21
 
21
 
22
REVISION := $(shell svnversion .)
22
REVISION := $(shell svnversion .)
23
REVISIONINT := $(shell echo $(REVISION) | sed -e "s/[^0-9].*$$//")
23
REVISIONINT := $(shell echo $(REVISION) | sed -e "s/[^0-9].*$$//")
24
 
24
 
25
TARGETS := $(call preprocess,TARGETS,-I.)
25
TARGETS := $(call preprocess,TARGETS,-I.)