From patchwork Fri Oct 20 20:08:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 828789 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="MzAV5oBV"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yJcMC208Kz9t1t for ; Sat, 21 Oct 2017 07:09:11 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E6D1D893F4; Fri, 20 Oct 2017 20:09:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lNFv+i0dYJaG; Fri, 20 Oct 2017 20:09:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6C4AC893FD; Fri, 20 Oct 2017 20:09:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id C3DB81C1E66 for ; Fri, 20 Oct 2017 20:09:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id BAEA9893A6 for ; Fri, 20 Oct 2017 20:09:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WshWgbhVHPSA for ; Fri, 20 Oct 2017 20:09:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yw0-f193.google.com (mail-yw0-f193.google.com [209.85.161.193]) by hemlock.osuosl.org (Postfix) with ESMTPS id 0C452893AA for ; Fri, 20 Oct 2017 20:09:02 +0000 (UTC) Received: by mail-yw0-f193.google.com with SMTP id l32so7368593ywh.13 for ; Fri, 20 Oct 2017 13:09:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LllfQeMjkRKQI5x+XA67+xF4FLXmRdx0mt514YNBwpA=; b=MzAV5oBVhbwFKiIY6uZTjnCQqt4Bu+fILgAbkT9VZr7bSD+fYk7djyY0Y1vxVmHewz 7FHs8/OgTwim+iKmACz7B+PRbA9X29Wgwx6BXLKEKXHfYHu1meO5vQ+TQ5ZwhKBod2Ee w23nzG3rMCrYr/EA3EwQftjS58QYcRmPj79tzj2VJ3QDmX1VFL2wri8fMVBVXJ0gefL6 favj/FWdeFlcg7/jQ/0BOVgV5LvGpy5ABVP2HMfwk1kNACodcuqcHD0yYpAcZWHtG+1N XBsqLkGBDI+zTHHkHvDv0cQJ0Z8c8DWH7YkKtKJRNlOBQSquCSEpCKi/k2oRH8WG7VIK nyEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=LllfQeMjkRKQI5x+XA67+xF4FLXmRdx0mt514YNBwpA=; b=Tb/zNItt+F7oY9II/c4NJhVBx1KMDppeYvKaCOOvqVkIwDJE5M+5qyE3yNOJ4Cg2MO eS6oPArH5RoO1Gw+UnQq3d2hob26XfKO2QdYp0w4ht6DaQuMMHrN3/oBbJHFl9A69O3q lTmtm8mpk6UVCOSEYHSsAwI9jdvCujN3VgXQc9UU9Ipf2Auzcu16+S07AQkifcFdDsSR x96Ss2UoF1lpITHTSCnlSxkZYT/fLCn373i2TW5zKq0uTqDwuZYhK4syny6DtRBqPgAf mol4d9vnqfb0H9GRozHzvoWksuMlB0uRM6IkjRA9Mj43mUPw4yFlb1vX5RUwo+UrS+UJ rKZg== X-Gm-Message-State: AMCzsaVmA1qwRo+jSeqkl8kCHnmz+n93eZ1x/SjG/TTRmshlrlwa3rtQ 76JGZQxlCbDNXqWRROI51/G9ZhUd X-Google-Smtp-Source: ABhQp+QQDujUP54c5xXFM+8F9PoRSN9flA1gNMOZVlyZCIRdywNCJMYI4IGG8ejMJYD/CjxQW8Ee8g== X-Received: by 10.37.44.196 with SMTP id s187mr3883024ybs.121.1508530140954; Fri, 20 Oct 2017 13:09:00 -0700 (PDT) Received: from aduskett.duskett (2600-6c4a-767f-ff91-be5f-f4ff-feef-f9a2.dhcp6.chtrptr.net. [2600:6c4a:767f:ff91:be5f:f4ff:feef:f9a2]) by smtp.gmail.com with ESMTPSA id i5sm814004ywi.65.2017.10.20.13.09.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Oct 2017 13:09:00 -0700 (PDT) From: Adam Duskett X-Google-Original-From: Adam Duskett To: buildroot@buildroot.org Date: Fri, 20 Oct 2017 16:08:55 -0400 Message-Id: <20171020200856.19406-2-Adamduskett@outlook.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171020200856.19406-1-Adamduskett@outlook.com> References: <20171020200856.19406-1-Adamduskett@outlook.com> Cc: Adam Duskett Subject: [Buildroot] [PATCH WIP] qemu: add BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Match the style used with other packages such as valgrind. Signed-off-by: Adam Duskett --- package/qemu/Config.in.host | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/package/qemu/Config.in.host b/package/qemu/Config.in.host index 71f38ef41f..78fe54a85c 100644 --- a/package/qemu/Config.in.host +++ b/package/qemu/Config.in.host @@ -1,15 +1,20 @@ -config BR2_PACKAGE_HOST_QEMU - bool "host qemu" - depends on BR2_arm || BR2_armeb || BR2_aarch64 || \ +config BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS + bool + default y if BR2_arm || BR2_armeb || BR2_aarch64 || \ BR2_i386 || BR2_m68k || BR2_microblazeel || \ BR2_microblazebe || BR2_mips || BR2_mipsel || \ BR2_mips64 || BR2_mips64el || BR2_powerpc || \ BR2_powerpc64 || BR2_powerpc64le || BR2_sh || \ BR2_sparc || BR2_x86_64 + +config BR2_PACKAGE_HOST_QEMU + bool "host qemu" + depends on BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS select BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE \ if !BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE help - QEMU is a generic and open source machine emulator and virtualizer. + QEMU is a generic and open source machine emulator and + virtualizer. This option builds an emulator for your selected architecture.