2006-10-24 12:21:16 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2002
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2006-10-24 12:21:16 +00:00
|
|
|
#
|
|
|
|
|
2014-02-28 05:33:30 +00:00
|
|
|
ifeq ($(CROSS_COMPILE),)
|
|
|
|
CROSS_COMPILE := avr32-linux-
|
|
|
|
endif
|
|
|
|
|
2011-02-04 13:25:17 +00:00
|
|
|
CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
|
2009-09-04 03:12:47 +00:00
|
|
|
|
2006-11-18 16:32:31 +00:00
|
|
|
PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax
|
2011-04-18 04:12:33 +00:00
|
|
|
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
|
|
|
|
|
2011-02-09 04:10:30 +00:00
|
|
|
LDFLAGS_u-boot = --gc-sections --relax
|