Wolfgang Denk | 7b64fef | 2006-10-24 14:21:16 +0200 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2000-2002 |
| 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Wolfgang Denk | 7b64fef | 2006-10-24 14:21:16 +0200 | [diff] [blame] | 6 | # |
| 7 | |
Mike Frysinger | 1ea6bcd | 2009-06-14 23:33:14 -0400 | [diff] [blame] | 8 | CROSS_COMPILE ?= avr32-linux- |
Masahiro Yamada | 5378d5e | 2014-01-06 15:45:09 +0900 | [diff] [blame] | 9 | PLATFORM_CPPFLAGS += -DCONFIG_AVR32 |
Wolfgang Denk | 8ae86b7 | 2011-02-04 14:25:17 +0100 | [diff] [blame] | 10 | CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 |
Mike Frysinger | 262ae0a | 2009-09-03 23:12:47 -0400 | [diff] [blame] | 11 | |
Haavard Skinnemoen | 28c699ef | 2006-11-18 17:32:31 +0100 | [diff] [blame] | 12 | PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax |
Andreas Bießmann | 758472c | 2011-04-18 04:12:33 +0000 | [diff] [blame] | 13 | PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections |
| 14 | |
Andreas Bießmann | c8e7ddd | 2011-02-09 04:10:30 +0000 | [diff] [blame] | 15 | LDFLAGS_u-boot = --gc-sections --relax |