From patchwork Sun Feb 3 14:07:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 217782 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 9A7B72C0090 for ; Mon, 4 Feb 2013 01:12:30 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 78AC0101C6E; Sun, 3 Feb 2013 14:12:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C-Y30EHFVfP5; Sun, 3 Feb 2013 14:12:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 42B0B103ABB; Sun, 3 Feb 2013 14:08:09 +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 1AAC68F753 for ; Sun, 3 Feb 2013 14:08:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C4A318AC2B for ; Sun, 3 Feb 2013 14:07:59 +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 8SJUkq8xxrr1 for ; Sun, 3 Feb 2013 14:07:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by whitealder.osuosl.org (Postfix) with ESMTPS id D308E8B8EE for ; Sun, 3 Feb 2013 14:07:53 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id hm11so3324770wib.1 for ; Sun, 03 Feb 2013 06:07:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references; bh=8Jpf11B/VpS1Wv7bIm1CRSz5tyx+vwDO12y7Lhj63xU=; b=XNdifGrxltRYHlDTwEvbr9FMbcuDopZj2CVcfuZyLVPKZPVoH+hgBYolidz9oPnD8d Uo3hWXbn2e91Zo9zivvsVP77ALG7OKz6pLjyrZj6HDLWbAvH47t3Rt6wnBHhIk7Fc1Iw QObtABuJIA/0CkxIDkhB+Xzk6WH45FpSOsSfVzuRMqtWpnF+uwfT+rI299piDgsH1B2P cfz3mUvHrnc8p5wG76//T/mLN0JOdQlMhznuLNOeXIN8xfuxoy/OOkL8VpfSAw4C0kwP UvqhoM8d63t/tQjAAMGOfoiEAaSIzv1jvLc7iZqcIO4plPF+hq0Ntlgst1PST12xEUFw FG+Q== X-Received: by 10.194.172.228 with SMTP id bf4mr30473854wjc.38.1359900472241; Sun, 03 Feb 2013 06:07:52 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-39-23.w90-32.abo.wanadoo.fr. [90.32.22.23]) by mx.google.com with ESMTPS id gy2sm2970685wib.3.2013.02.03.06.07.50 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 03 Feb 2013 06:07:51 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 3 Feb 2013 15:07:03 +0100 Message-Id: <49e279c4ee2a0b5d540811f1b82aad1eba848329.1359899108.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 26/29] package/qemu: add option to install tools on the target 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 Usually, tools on the target are not needed, so they are disabled by default. Add an option to install them on the target. Signed-off-by: "Yann E. MORIN" --- package/qemu/Config.in | 6 ++++++ package/qemu/qemu.mk | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletions(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index 5f4bee3..e0d5825 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -257,6 +257,12 @@ config BR2_PACKAGE_QEMU_SECCOMP Say 'y' here to have QEMU to use the Linux kernel's seccomp filter, to more tightly confine the VMs. +config BR2_PACKAGE_QEMU_TOOLS_ON_TARGET + bool "tools on target" + help + Say 'y' here to also install QEMU tools (qemu-{img,io,nbd}) on the + target. + config BR2_PACKAGE_QEMU_BLOBS bool "Install binary blobs" default y diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 3a09cdc..d3541cf 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -258,6 +258,12 @@ else QEMU_OPTS += --disable-seccomp endif +ifeq ($(BR2_PACKAGE_QEMU_TOOLS_ON_TARGET),y) +QEMU_OPTS += --enable-tools +else +QEMU_OPTS += --disable-tools +endif + ifeq ($(BR2_PACKAGE_QEMU_BLOBS),) QEMU_OPTS += --disable-blobs endif @@ -347,7 +353,6 @@ define QEMU_CONFIGURE_CMDS --disable-smartcard \ --disable-strip \ --disable-sparse \ - --disable-tools \ $(QEMU_OPTS) \ ) endef