projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.denx.de/u-boot-ubi
[oweals/u-boot.git]
/
arch
/
nios2
/
config.mk
diff --git
a/arch/nios2/config.mk
b/arch/nios2/config.mk
index 793cc43a1cbf55d042a9bcccf316ec35e051be69..7b03ed81b1e31bd10b1270dc7efcd06d5667809c 100644
(file)
--- a/
arch/nios2/config.mk
+++ b/
arch/nios2/config.mk
@@
-24,9
+24,10
@@
CROSS_COMPILE ?= nios2-elf-
CROSS_COMPILE ?= nios2-elf-
-STANDALONE_LOAD_ADDR ?= 0x02000000
+
CONFIG_
STANDALONE_LOAD_ADDR ?= 0x02000000
PLATFORM_CPPFLAGS += -DCONFIG_NIOS2 -D__NIOS2__
PLATFORM_CPPFLAGS += -G0
PLATFORM_CPPFLAGS += -DCONFIG_NIOS2 -D__NIOS2__
PLATFORM_CPPFLAGS += -G0
-LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds
+LDFLAGS_FINAL += --gc-sections
+PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections