config.mk (6dc1eceb9c5f42216f1ba0e0ef538015b0aa10bc) config.mk (33ee4c92339ee386662c0ee2d221098c5cc8b07e)
1#
2# (C) Copyright 2000-2010
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# See file CREDITS for list of people who contributed to this
6# project.
7#
8# This program is free software; you can redistribute it and/or

--- 11 unchanged lines hidden (view full) ---

20# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21# MA 02111-1307 USA
22#
23
24CROSS_COMPILE ?= ppc_8xx-
25
26STANDALONE_LOAD_ADDR = 0x40000
27LDFLAGS_FINAL += --gc-sections
1#
2# (C) Copyright 2000-2010
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# See file CREDITS for list of people who contributed to this
6# project.
7#
8# This program is free software; you can redistribute it and/or

--- 11 unchanged lines hidden (view full) ---

20# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21# MA 02111-1307 USA
22#
23
24CROSS_COMPILE ?= ppc_8xx-
25
26STANDALONE_LOAD_ADDR = 0x40000
27LDFLAGS_FINAL += --gc-sections
28PLATFORM_RELFLAGS += -mrelocatable -ffunction-sections -fdata-sections
28PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections -fdata-sections
29PLATFORM_CPPFLAGS += -DCONFIG_PPC -D__powerpc__
30PLATFORM_LDFLAGS += -n
31
32ifdef CONFIG_SYS_LDSCRIPT
33# need to strip off double quotes
34LDSCRIPT := $(subst ",,$(CONFIG_SYS_LDSCRIPT))
35else ifdef CONFIG_NAND_SPL
36LDSCRIPT := $(SRCTREE)/$(CONFIG_BOARDDIR)/u-boot-nand.lds

--- 19 unchanged lines hidden ---
29PLATFORM_CPPFLAGS += -DCONFIG_PPC -D__powerpc__
30PLATFORM_LDFLAGS += -n
31
32ifdef CONFIG_SYS_LDSCRIPT
33# need to strip off double quotes
34LDSCRIPT := $(subst ",,$(CONFIG_SYS_LDSCRIPT))
35else ifdef CONFIG_NAND_SPL
36LDSCRIPT := $(SRCTREE)/$(CONFIG_BOARDDIR)/u-boot-nand.lds

--- 19 unchanged lines hidden ---