diff options
Diffstat (limited to 'qemu/roms/u-boot/arch/avr32/config.mk')
-rw-r--r-- | qemu/roms/u-boot/arch/avr32/config.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/arch/avr32/config.mk b/qemu/roms/u-boot/arch/avr32/config.mk new file mode 100644 index 000000000..28a371c80 --- /dev/null +++ b/qemu/roms/u-boot/arch/avr32/config.mk @@ -0,0 +1,18 @@ +# +# (C) Copyright 2000-2002 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# +# SPDX-License-Identifier: GPL-2.0+ +# + +ifeq ($(CROSS_COMPILE),) +CROSS_COMPILE := avr32-linux- +endif + +PLATFORM_CPPFLAGS += -DCONFIG_AVR32 +CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 + +PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax +PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections + +LDFLAGS_u-boot = --gc-sections --relax |