Wolfgang Denk | 83c1585 | 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 | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Wolfgang Denk | 83c1585 | 2006-10-24 14:21:16 +0200 | [diff] [blame] | 6 | # |
| 7 | |
Masahiro Yamada | f0ac9e0 | 2014-02-28 14:33:30 +0900 | [diff] [blame] | 8 | ifeq ($(CROSS_COMPILE),) |
| 9 | CROSS_COMPILE := avr32-linux- |
| 10 | endif |
| 11 | |
Wolfgang Denk | 33a5734 | 2011-02-04 14:25:17 +0100 | [diff] [blame] | 12 | CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 |
Mike Frysinger | 5b66044 | 2009-09-03 23:12:47 -0400 | [diff] [blame] | 13 | |
Haavard Skinnemoen | 7e62421 | 2006-11-18 17:32:31 +0100 | [diff] [blame] | 14 | PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax |
Andreas Bießmann | d02314f | 2011-04-18 04:12:33 +0000 | [diff] [blame] | 15 | PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections |
| 16 | |
Andreas Bießmann | b54ca7e | 2011-02-09 04:10:30 +0000 | [diff] [blame] | 17 | LDFLAGS_u-boot = --gc-sections --relax |