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