From patchwork Tue Jan 29 22:43:59 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: 216701 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 145A22C0090 for ; Wed, 30 Jan 2013 09:47:12 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id EEE8CA0237; Tue, 29 Jan 2013 22:47:12 +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 B-nz077V1OMS; Tue, 29 Jan 2013 22:47:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E0C72A023C; Tue, 29 Jan 2013 22:45:54 +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 EBD368F753 for ; Tue, 29 Jan 2013 22:45:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9D4C28CA1C for ; Tue, 29 Jan 2013 22:44:53 +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 CoxcdpbYzZxE for ; Tue, 29 Jan 2013 22:44:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by whitealder.osuosl.org (Postfix) with ESMTPS id 72D4E8CA39 for ; Tue, 29 Jan 2013 22:44:47 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id hj13so964287wib.13 for ; Tue, 29 Jan 2013 14:44:45 -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=l0g88ATPKzjbd/LW4bNTCYD6UglZGKTv+fZ5qiVElgw=; b=asPdhO8aulu1mnAgEfwzm58E7dIcl3w8pe5nStd9Ny49SMnhWtVtjNgPiRaQFlrXtm aqYZ5nsFO5nL4SwnuX+dnm8ozjz8IMsG8J7odywD04LTbk537yqNCz+3KuCHYZIn5VrM ICRRzDgoW+3sq8yQ85ZxD8xfnQjXC5wTl5oseKjFBkueoRgZQGgs7VH5fvRTQCGybojO KmZQf7nmeQPLnZcD8AXNgCRb6zeVBRHYT7qsu+g2z0dxwvoyqP918HDEZQIrbh3LW/E2 oy7obQcg2cZSnMbTAC7cyy0PKU/bfb76GX4L601oKFE5aOWFHJ1BVH3Rq75wKnyu0s/Q qD2g== X-Received: by 10.194.76.237 with SMTP id n13mr5149727wjw.57.1359499485911; Tue, 29 Jan 2013 14:44:45 -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 ge2sm5826459wib.4.2013.01.29.14.44.44 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 29 Jan 2013 14:44:45 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Tue, 29 Jan 2013 23:43:59 +0100 Message-Id: <811cdff57cc19e65099ca8ec56e2f7f58484a9f5.1359498903.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 15/29] package/qemu: add support for cURL 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 QEMU can use libcurl as a block backend, to access remote block devices. Signed-off-by: "Yann E. MORIN" --- package/qemu/Config.in | 10 ++++++++++ package/qemu/qemu.mk | 8 +++++++- 2 files changed, 17 insertions(+), 1 deletions(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index 75df82b..4e5b81b 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -129,6 +129,16 @@ config BR2_PACKAGE_QEMU_VIRTFS file-system called 9p, and can be accelerated by using the 9p virtio). +config BR2_PACKAGE_QEMU_CURL + bool "Enable remote block-devices using cURL" + depends on !BR2_PREFER_STATIC_LIB + select BR2_PACKAGE_LIBCURL + help + Say 'y' to access remote block-devices using libcurl. + +comment "cURL support is not possible with static linking" + depends on BR2_PREFER_STATIC_LIB + comment "Misc. features" config BR2_PACKAGE_QEMU_UUID diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 39e5c49..6fda51e 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -155,6 +155,13 @@ else QEMU_OPTS += --disable-virtfs endif +ifeq ($(BR2_PACKAGE_QEMU_CURL),y) +QEMU_OPTS += --enable-curl +QEMU_DEPENDENCIES += libcurl +else +QEMU_OPTS += --disable-curl +endif + ifeq ($(BR2_PACKAGE_QEMU_UUID),y) QEMU_OPTS += --enable-uuid QEMU_DEPENDENCIES += util-linux @@ -263,7 +270,6 @@ define QEMU_CONFIGURE_CMDS --disable-vnc-sasl \ --disable-brlapi \ --disable-curses \ - --disable-curl \ --disable-fdt \ --disable-bluez \ --disable-guest-base \