X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=qemu%2Froms%2Fu-boot%2Farch%2Favr32%2Fconfig.mk;fp=qemu%2Froms%2Fu-boot%2Farch%2Favr32%2Fconfig.mk;h=28a371c806449afc9da1c035ac098ce82ddc2920;hb=e44e3482bdb4d0ebde2d8b41830ac2cdb07948fb;hp=0000000000000000000000000000000000000000;hpb=9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00;p=kvmfornfv.git 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