From patchwork Sun Dec 16 17:01:37 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: 206713 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 8EBF42C007B for ; Mon, 17 Dec 2012 04:02:54 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C84AAA00E6; Sun, 16 Dec 2012 17:02:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 85MdmqxH7LnJ; Sun, 16 Dec 2012 17:02:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id EE5DEA00D6; Sun, 16 Dec 2012 17:02:31 +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 8BB658F74B for ; Sun, 16 Dec 2012 17:02:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0F6C980C10 for ; Sun, 16 Dec 2012 17:02:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9cEKGY3N8kb6 for ; Sun, 16 Dec 2012 17:02:17 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0F55380C0E for ; Sun, 16 Dec 2012 17:02:16 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u3so2373746wey.16 for ; Sun, 16 Dec 2012 09:02:15 -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:in-reply-to:references; bh=RVItJiED8ma2eihEVJqV4M3TPJU89MMZ7Wt9KIsRgSU=; b=0A3JrkJhIt3Gbou5lC23vlWEJb8jNRfHH0TR1v0+xDAKXQeQwWOOXbgb23DzZuATWR 7BJBI9XaXkgfephY6tdS0A1arV7l6K2aJWYwEydsqmQ6SR39RMe9wJuNbtR+Jqmp4qLQ TxJ19h2Qch5t3iPZkubUv6QOxMkOQFzvXLPCzf0Y0NuL2Kut82V0ZvuSY83gQ5WXl25n cKaqnsq8WhAarVGbL0ZCMPJYF/j65XptKPIEvNTNbIo5FNPuQtcpfdTT5DeG01GxoZwC 11mAOx+0TVNS8OY0MSqQ08wXaZOohjc/fXM02RfSJUA1rm2mIh/9WrtwY98Xihxy4oLJ FlaQ== Received: by 10.194.88.65 with SMTP id be1mr12777152wjb.25.1355677335404; Sun, 16 Dec 2012 09:02:15 -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 w5sm7363031wif.11.2012.12.16.09.02.13 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Dec 2012 09:02:14 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 16 Dec 2012 18:01:37 +0100 Message-Id: <06ece8c5017ee0f9b4bbb510993f7989ed18f385.1355677144.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 08/27] 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 8f3c0e9..f2cde9d 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