X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=qemu%2Froms%2Fu-boot%2Farch%2Fsh%2Fcpu%2Fsh2%2Fconfig.mk;fp=qemu%2Froms%2Fu-boot%2Farch%2Fsh%2Fcpu%2Fsh2%2Fconfig.mk;h=4904d76d44bb53672f2222d14855b8f89836467e;hb=e44e3482bdb4d0ebde2d8b41830ac2cdb07948fb;hp=0000000000000000000000000000000000000000;hpb=9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00;p=kvmfornfv.git diff --git a/qemu/roms/u-boot/arch/sh/cpu/sh2/config.mk b/qemu/roms/u-boot/arch/sh/cpu/sh2/config.mk new file mode 100644 index 000000000..4904d76d4 --- /dev/null +++ b/qemu/roms/u-boot/arch/sh/cpu/sh2/config.mk @@ -0,0 +1,17 @@ +# +# (C) Copyright 2007-2008 +# Nobuhiro Iwamatsu +# +# SPDX-License-Identifier: GPL-2.0+ +# +# +ENDIANNESS += -EB + +ifdef CONFIG_SH2A +PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb +else # SH2 +PLATFORM_CPPFLAGS += -m3e -mb +endif +PLATFORM_CPPFLAGS += -DCONFIG_SH2 $(call cc-option,-mno-fdpic) + +PLATFORM_LDFLAGS += $(ENDIANNESS)