From patchwork Mon Dec 10 23:44:57 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: 205089 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 9DEF02C0322 for ; Tue, 11 Dec 2012 10:50:14 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 584BCA0193; Mon, 10 Dec 2012 23:50:13 +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 flbC6c1cYZaS; Mon, 10 Dec 2012 23:50:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 3278EA019F; Mon, 10 Dec 2012 23:48:06 +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 7EA528F74B for ; Mon, 10 Dec 2012 23:46:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0EB3D8B0DF for ; Mon, 10 Dec 2012 23:46:49 +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 LZarsx9938IN for ; Mon, 10 Dec 2012 23:46:39 +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 F27228AE83 for ; Mon, 10 Dec 2012 23:45:55 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u3so1789665wey.16 for ; Mon, 10 Dec 2012 15:45:55 -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=Ndi2TFdU5dEOCjtMmJ0grorLUkOrQ2ICfedLu8XGb2w=; b=GD5zKeirYeHzvluCxXG0N0l0N9qIslN/MF/lkk+i0z1xf0ayUqu2cmLGoXkI7gP9ca jyARotmR1EbBFtwDV3QJFOjdWdJ9/BucnKKZirAIKuFJdQHnIK2fsJhxeGuoDhgwbfxL 5WWROlunEIb55fFjKt7PJgr3vHI7JzZdhKpvQlm0kXw6Zj6MynhAu+euCpzudrNfKPKP 19R4asPdsSQXvWd+OrPUPvvCaErAZ6NDb7bvXpBPpOLPxAOClyHLP8PkF9osMO4/ftfh 3iUhKIdKeBOlkUKxu4P9h7XDNyZxyiYqq/6HxhL7xtM3LLPBwMlPsABwWyfeiXfxIXey BduA== Received: by 10.180.102.101 with SMTP id fn5mr13666304wib.19.1355183155710; Mon, 10 Dec 2012 15:45:55 -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 bz12sm13895257wib.5.2012.12.10.15.45.54 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Dec 2012 15:45:55 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Tue, 11 Dec 2012 00:44:57 +0100 Message-Id: <1355183112-10735-38-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1355183112-10735-1-git-send-email-yann.morin.1998@free.fr> References: <1355183112-10735-1-git-send-email-yann.morin.1998@free.fr> Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 37/52] 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 237fb7b..47857ec 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -128,6 +128,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 b34ff69..e0270f0 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 @@ -262,7 +269,6 @@ define QEMU_CONFIGURE_CMDS --disable-vnc-sasl \ --disable-brlapi \ --disable-curses \ - --disable-curl \ --disable-fdt \ --disable-bluez \ --disable-guest-base \