blob: b9b96313c5f4b4358783fdd62dda17b069655eda [file] [log] [blame]
Wolfgang Denk7b64fef2006-10-24 14:21:16 +02001#
2# (C) Copyright 2000-2002
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Wolfgang Denk7b64fef2006-10-24 14:21:16 +02006#
7
Mike Frysinger1ea6bcd2009-06-14 23:33:14 -04008CROSS_COMPILE ?= avr32-linux-
Masahiro Yamada5378d5e2014-01-06 15:45:09 +09009PLATFORM_CPPFLAGS += -DCONFIG_AVR32
Wolfgang Denk8ae86b72011-02-04 14:25:17 +010010CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
Mike Frysinger262ae0a2009-09-03 23:12:47 -040011
Haavard Skinnemoen28c699ef2006-11-18 17:32:31 +010012PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax
Andreas Bießmann758472c2011-04-18 04:12:33 +000013PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
14
Andreas Bießmannc8e7ddd2011-02-09 04:10:30 +000015LDFLAGS_u-boot = --gc-sections --relax