From df490025fee29fb776c06598e20ae8de987b3e9c Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 8 Feb 2021 16:33:24 +0000 Subject: [PATCH] qemu: Enable riscv64 targets Signed-off-by: Michael Tremer --- config/rootfiles/packages/qemu | 2 ++ lfs/qemu | 14 ++++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/config/rootfiles/packages/qemu b/config/rootfiles/packages/qemu index ee4b9f736a..3792e74799 100644 --- a/config/rootfiles/packages/qemu +++ b/config/rootfiles/packages/qemu @@ -9,9 +9,11 @@ usr/bin/qemu-img usr/bin/qemu-io usr/bin/qemu-nbd usr/bin/qemu-pr-helper +usr/bin/qemu-riscv64 usr/bin/qemu-storage-daemon usr/bin/qemu-system-arm usr/bin/qemu-system-i386 +usr/bin/qemu-system-riscv64 usr/bin/qemu-system-x86_64 usr/bin/qemu-x86_64 usr/libexec/qemu-bridge-helper diff --git a/lfs/qemu b/lfs/qemu index 2ab1bf8c01..aa09fa0ca5 100644 --- a/lfs/qemu +++ b/lfs/qemu @@ -33,10 +33,20 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) SUP_ARCH = i586 x86_64 PROG = qemu -PAK_VER = 29 +PAK_VER = 30 DEPS = libusbredir spice libseccomp +TARGETS = \ + i386-linux-user \ + x86_64-linux-user \ + arm-linux-user \ + riscv64-linux-user \ + i386-softmmu \ + x86_64-softmmu \ + arm-softmmu \ + riscv64-softmmu + ############################################################################### # Top-level Rules ############################################################################### @@ -84,7 +94,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) --localstatedir=/var \ --enable-kvm \ --disable-attr \ - --target-list="i386-linux-user x86_64-linux-user arm-linux-user i386-softmmu x86_64-softmmu arm-softmmu" \ + --target-list="$(TARGETS)" \ --extra-cflags="$(CFLAGS)" \ --enable-spice \ --enable-usb-redir \ -- 2.39.5