Commit-ID: d10bfd41408799a3aa5e39371fae0c3ba9469e1a Gitweb: http://git.kernel.org/tip/d10bfd41408799a3aa5e39371fae0c3ba9469e1a Author: David Daney <david.daney@xxxxxxxxxx> AuthorDate: Wed, 28 May 2014 22:28:02 +0200 Committer: Pekka Enberg <penberg@xxxxxxxxxx> CommitDate: Fri, 30 May 2014 21:37:15 +0300 kvm tools, mips: Enable build of mips support Signed-off-by: David Daney <david.daney@xxxxxxxxxx> Signed-off-by: Andreas Herrmann <andreas.herrmann@xxxxxxxxxxxxxxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx> --- tools/kvm/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile index b872651..880d580 100644 --- a/tools/kvm/Makefile +++ b/tools/kvm/Makefile @@ -105,7 +105,7 @@ OBJS += virtio/mmio.o # Translate uname -m into ARCH string ARCH ?= $(shell uname -m | sed -e s/i.86/i386/ -e s/ppc.*/powerpc/ \ - -e s/armv7.*/arm/ -e s/aarch64.*/arm64/) + -e s/armv7.*/arm/ -e s/aarch64.*/arm64/ -e s/mips64/mips/) ifeq ($(ARCH),i386) ARCH := x86 @@ -184,6 +184,13 @@ ifeq ($(ARCH), arm64) ARCH_WANT_LIBFDT := y endif +ifeq ($(ARCH),mips) + DEFINES += -DCONFIG_MIPS + ARCH_INCLUDE := mips/include + OBJS += mips/kvm.o + OBJS += mips/kvm-cpu.o + OBJS += mips/irq.o +endif ### ifeq (,$(ARCH_INCLUDE)) -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |