From patchwork Sun Dec 9 16:35:03 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: 204733 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 8A6872C01C2 for ; Mon, 10 Dec 2012 03:40:24 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4B81DA016A; Sun, 9 Dec 2012 16:40:23 +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 aVB-y7U5J-vr; Sun, 9 Dec 2012 16:40:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 4B943A01D2; Sun, 9 Dec 2012 16:37:03 +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 693448F74B for ; Sun, 9 Dec 2012 16:36:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5340F884E1 for ; Sun, 9 Dec 2012 16:36:08 +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 5CLlUzmmc1LN for ; Sun, 9 Dec 2012 16:36:07 +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 5E8CA81B94 for ; Sun, 9 Dec 2012 16:36:07 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id e12so1029776wge.10 for ; Sun, 09 Dec 2012 08:36:06 -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=56nXOFcdYnMC4C/KwtFRa38fYzdSu14Nilxuwdt73eY=; b=V7wsrz/kJvKGghsjqmRe8/tvOj4M0+yOFuALoyPJGNwtYwKiR/2EjwNZuRLc4tA/at aU3EcfKQMgpwB5VDYiyE/X9GD7BVx8QfqVu4MKlnVfylcKezLRbfQzCjdw2W5b5MzgFP UGiSACh8iocwPSsoh3SI1UJp5zaueB8nyGKMYPo5uKOXXP2lWei7UxDTKluxZGiso1TI 1bZC2ysCAecOGugDJXAz4kyukPGdvDUm0n124asfmp1qoT6Dyu16BxxINhyRGOA3P3ke 7reTlJU+OoljTn9vPfH47ady5VZ8xjZxu/QHaTLV207imaB/+aiYiqpObm3A+DxFrU8b trkw== Received: by 10.180.102.6 with SMTP id fk6mr6962033wib.9.1355070966856; Sun, 09 Dec 2012 08:36:06 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-76-30.w90-32.abo.wanadoo.fr. [90.32.155.30]) by mx.google.com with ESMTPS id fv2sm6587947wib.4.2012.12.09.08.36.05 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2012 08:36:06 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 9 Dec 2012 17:35:03 +0100 Message-Id: <1355070924-8009-31-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1355070924-8009-1-git-send-email-yann.morin.1998@free.fr> References: <1355070924-8009-1-git-send-email-yann.morin.1998@free.fr> Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 30/51] 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 c85568d..8d647c9 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -115,4 +115,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 eb95611..1100621 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