All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Clément Léger" <cleger@rivosinc.com>
To: buildroot@buildroot.org
Cc: "Anup Patel" <apatel@ventanamicro.com>,
	"Clément Léger" <cleger@rivosinc.com>
Subject: [Buildroot] [PATCH 2/2] package/kvmtool: enable build for riscv
Date: Wed, 27 Mar 2024 16:06:13 +0100	[thread overview]
Message-ID: <20240327150616.39345-3-cleger@rivosinc.com> (raw)
In-Reply-To: <20240327150616.39345-1-cleger@rivosinc.com>

kvmtool now supports riscv, enable it and select BR2_PACKAGE_DTC which
is needed to build it.

Signed-off-by: Clément Léger <cleger@rivosinc.com>
---
 package/kvmtool/Config.in | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/package/kvmtool/Config.in b/package/kvmtool/Config.in
index bf19a25376..35225e0150 100644
--- a/package/kvmtool/Config.in
+++ b/package/kvmtool/Config.in
@@ -6,11 +6,12 @@ config BR2_PACKAGE_KVMTOOL
 	# Only mips big-endian seems to be supported (build breaks)
 	# Should work on powerpc64 but the build breaks with missing types
 	depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 || \
-		BR2_mips || BR2_x86_64
+		BR2_mips || BR2_x86_64 || BR2_riscv
 	# libfdt is only required for DT architectures...
 	# ...but it's not able to build for static targets
-	depends on !(BR2_STATIC_LIBS && (BR2_aarch64 || BR2_arm || BR2_armeb))
-	select BR2_PACKAGE_DTC if BR2_aarch64 || BR2_arm || BR2_armeb
+	depends on !(BR2_STATIC_LIBS && (BR2_aarch64 || BR2_arm || \
+		BR2_armeb || BR2_riscv))
+	select BR2_PACKAGE_DTC if BR2_aarch64 || BR2_arm || BR2_armeb || BR2_riscv
 	help
 	  kvmtool is a lightweight tool for hosting KVM guests.
 	  As a pure virtualization tool it only supports guests using
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2024-03-27 15:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-27 15:06 [Buildroot] [PATCH 0/2] Update kvmtool and add support for riscv Clément Léger
2024-03-27 15:06 ` [Buildroot] [PATCH 1/2] package/kvmtool: bump package version to 4d2c017f41 Clément Léger
2024-03-27 15:06 ` Clément Léger [this message]
2024-05-13 21:18 ` [Buildroot] [PATCH 0/2] Update kvmtool and add support for riscv Thomas Petazzoni via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240327150616.39345-3-cleger@rivosinc.com \
    --to=cleger@rivosinc.com \
    --cc=apatel@ventanamicro.com \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.