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 | |
Masahiro Yamada | 9b6e2c3 | 2014-02-28 14:33:30 +0900 | [diff] [blame] | 8 | ifeq ($(CROSS_COMPILE),) |
| 9 | CROSS_COMPILE := avr32-linux- |
| 10 | endif |
| 11 | |
Wolfgang Denk | 8ae86b7 | 2011-02-04 14:25:17 +0100 | [diff] [blame] | 12 | CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 |
Mike Frysinger | 262ae0a | 2009-09-03 23:12:47 -0400 | [diff] [blame] | 13 | |
Haavard Skinnemoen | 28c699ef | 2006-11-18 17:32:31 +0100 | [diff] [blame] | 14 | PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax |
Andreas Bießmann | 758472c | 2011-04-18 04:12:33 +0000 | [diff] [blame] | 15 | PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections |
| 16 | |
Andreas Bießmann | c8e7ddd | 2011-02-09 04:10:30 +0000 | [diff] [blame] | 17 | LDFLAGS_u-boot = --gc-sections --relax |