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