From patchwork Mon Dec 10 23:44:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 205093 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 1DB192C00F8 for ; Tue, 11 Dec 2012 10:50:50 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id BE7FCA0172; Mon, 10 Dec 2012 23:50:48 +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 QKYHB3OV8gxp; Mon, 10 Dec 2012 23:50:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id F2F63A0175; Mon, 10 Dec 2012 23:48:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A36008F74B for ; Mon, 10 Dec 2012 23:46:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 99DA08A224 for ; Mon, 10 Dec 2012 23:46:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vkaT8aJ4vALQ for ; Mon, 10 Dec 2012 23:46:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0A2748ACC0 for ; Mon, 10 Dec 2012 23:45:50 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id e12so1703600wge.10 for ; Mon, 10 Dec 2012 15:45:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=rt7Ig+Nnt8W3lnokZ4vEUHUQJ+e71GdRqVD7iNR5JuY=; b=fZBhIsnpjP/GtR2LmwgesbyLlZKxcU2BMzEoYLfNhXGK4uqwgx3QVmoRtsYutYbXrg N9lAIwUPKK6jbtUq3z4FsK6vBY3r0VWPXq7SA1brTnzAZg/K+P7kR8PvPLuwpT5HH1j+ 0gP8rJ4Qhu9dmRE6JXmVC2n/Kx3+F88Vt3EBNFC6WSQdnUOhnQ0b85G2uuosA8UBRShA pqM7xckNiJrRK7dq+tBRMOnWJzpf0kJMAHbcMgeJnfndXEp2DstUnC70tcZO5JDdZFKQ emf8jDzu6dxXBB6+1RfQgsvpNlsDooiZQV/QT2WUBFc2InvfUafRZrX3Oz2tprvfvhGE cDSw== Received: by 10.180.78.161 with SMTP id c1mr13773988wix.4.1355183150794; Mon, 10 Dec 2012 15:45:50 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-41-119.w90-32.abo.wanadoo.fr. [90.32.24.119]) by mx.google.com with ESMTPS id bz12sm13895257wib.5.2012.12.10.15.45.50 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Dec 2012 15:45:50 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Tue, 11 Dec 2012 00:44:51 +0100 Message-Id: <1355183112-10735-32-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1355183112-10735-1-git-send-email-yann.morin.1998@free.fr> References: <1355183112-10735-1-git-send-email-yann.morin.1998@free.fr> Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 31/52] package/qemu: add option to not install blobs X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Signed-off-by: "Yann E. MORIN" --- package/qemu/Config.in | 16 ++++++++++++++++ package/qemu/qemu.mk | 4 ++++ 2 files changed, 20 insertions(+), 0 deletions(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index 14c3704..e530303 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -112,4 +112,20 @@ config BR2_PACKAGE_QEMU_SDL Say 'y' to enable the SDL frontend, that is, a graphical window presenting the VM's display. +comment "Misc. features" + +config BR2_PACKAGE_QEMU_BLOBS + bool "Install binary blobs" + default y + help + Say 'y' here (the default) to install binary blobs (such as BIOS + or firmwares for the different machines simulated by QEMU). + Say 'n' to not install those blobs. + + Note: Some machines may be unbootable without those blobs. + If unsure, say 'y'. + + Note2: This has nothing to do with the licensing of the blobs; + some (most?) even have a free and/or open source license. + endif # BR2_PACKAGE_QEMU diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 61509ec..bf4aeb9 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -149,6 +149,10 @@ else QEMU_OPTS += --disable-sdl endif +ifeq ($(BR2_PACKAGE_QEMU_BLOBS),) +QEMU_OPTS += --disable-blobs +endif + # Note: although QEMU uses a ./configure script, it is not compatible with # the traditional autotools options (eg. --target et al.), so we have # to override the default provided by the autotools-package infra, and