2006-10-24 12:21:16 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2002
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2006-10-24 12:21:16 +00:00
|
|
|
#
|
|
|
|
|
2009-06-15 03:33:14 +00:00
|
|
|
CROSS_COMPILE ?= avr32-linux-
|
2014-01-06 06:45:09 +00:00
|
|
|
PLATFORM_CPPFLAGS += -DCONFIG_AVR32
|
2011-02-04 13:25:17 +00:00
|
|
|
CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
|
2009-09-04 03:12:47 +00:00
|
|
|
|
2006-11-18 16:32:31 +00:00
|
|
|
PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax
|
2011-04-18 04:12:33 +00:00
|
|
|
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
|
|
|
|
|
2011-02-09 04:10:30 +00:00
|
|
|
LDFLAGS_u-boot = --gc-sections --relax
|