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