blob: 28a371c806449afc9da1c035ac098ce82ddc2920 [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
Masahiro Yamada9b6e2c32014-02-28 14:33:30 +09008ifeq ($(CROSS_COMPILE),)
9CROSS_COMPILE := avr32-linux-
10endif
11
Masahiro Yamada5378d5e2014-01-06 15:45:09 +090012PLATFORM_CPPFLAGS += -DCONFIG_AVR32
Wolfgang Denk8ae86b72011-02-04 14:25:17 +010013CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
Mike Frysinger262ae0a2009-09-03 23:12:47 -040014
Haavard Skinnemoen28c699ef2006-11-18 17:32:31 +010015PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax
Andreas Bießmann758472c2011-04-18 04:12:33 +000016PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
17
Andreas Bießmannc8e7ddd2011-02-09 04:10:30 +000018LDFLAGS_u-boot = --gc-sections --relax