2 # (C) Copyright 2000-2002
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
8 ifeq ($(CROSS_COMPILE),)
9 CROSS_COMPILE := avr32-linux-
12 PLATFORM_CPPFLAGS += -DCONFIG_AVR32
13 CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
15 PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax
16 PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
18 LDFLAGS_u-boot = --gc-sections --relax