blob: 469185e8b44bcef8cc23e77e5a620f8feae8cbfb [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
Wolfgang Denk8ae86b72011-02-04 14:25:17 +010012CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
Mike Frysinger262ae0a2009-09-03 23:12:47 -040013
Haavard Skinnemoen28c699ef2006-11-18 17:32:31 +010014PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax
Andreas Bießmann758472c2011-04-18 04:12:33 +000015PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
16
Andreas Bießmannc8e7ddd2011-02-09 04:10:30 +000017LDFLAGS_u-boot = --gc-sections --relax