From patchwork Wed Oct 24 21:25:54 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: 193973 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id D9EF52C008F for ; Thu, 25 Oct 2012 08:29:44 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 149A93100F; Wed, 24 Oct 2012 21:29:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YzZha8XQPlpQ; Wed, 24 Oct 2012 21:29:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A75303101F; Wed, 24 Oct 2012 21:29:39 +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 75D608F74A for ; Wed, 24 Oct 2012 21:27:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 21E178C813 for ; Wed, 24 Oct 2012 21:26:59 +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 QyuE92A1KoMk for ; Wed, 24 Oct 2012 21:26:52 +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 CE4348C8E3 for ; Wed, 24 Oct 2012 21:26:45 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id s43so650111wey.16 for ; Wed, 24 Oct 2012 14:26:45 -0700 (PDT) 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=9ZcbP9bS10iZS831AM4zlRiPZBtuAEHj5YzJ/nDpaCI=; b=dVpzr13izPaKuVieoAzDKTKCi3tYOVhX3qN4irpL+LmyxXkQctef0str7cHiKCRori pN96BZiqyeOjtCs3v0NAHO8ZROUFnU1wJEWEm7rT67OsoJuXA1qf/MRP8wqccIOcAJQz UQpNd6XJKm6yct09DtiUwtj8nx/UJS9G0RqT7viURHtGI0TsnF8EpMNrgzBsOQ4btMW0 qDsHUXk3Tjc0+Iabngs0HCy0QQLzsfx0oKBPxHlhjwODKq5EOGrOmHU4l+4iQ/JkKXWm lsVIvflHIEFpBftsvAwpVizNAJ/YDTrb2gSkzu+HH/O3V6//2npFK86FQN25+NPGkjif vv/Q== Received: by 10.216.218.105 with SMTP id j83mr9165664wep.164.1351114005462; Wed, 24 Oct 2012 14:26:45 -0700 (PDT) Received: from localhost.localdomain (ARennes-256-1-66-54.w90-32.abo.wanadoo.fr. [90.32.145.54]) by mx.google.com with ESMTPS id hb6sm6371161wib.7.2012.10.24.14.26.44 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Oct 2012 14:26:45 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Wed, 24 Oct 2012 23:25:54 +0200 Message-Id: <1351113973-17237-29-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr> References: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr> Cc: bjornar.ness@gmail.com, "Yann E. MORIN" Subject: [Buildroot] [PATCH 28/47] 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 4a2c5bf..ab82bf8 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 f7bcb16..3d1ec44 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -83,6 +83,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 can # not use the autotools-package infrastructure. So we have to use the