From patchwork Sun Dec 9 16:35:09 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: 204739 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 8E6CE2C01FD for ; Mon, 10 Dec 2012 03:40:52 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4AB52A016F; Sun, 9 Dec 2012 16:40:51 +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 Hua0FMK-YPhC; Sun, 9 Dec 2012 16:40:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 4ADAEA0100; Sun, 9 Dec 2012 16:37:21 +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 09D218F74B for ; Sun, 9 Dec 2012 16:36:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E6E9281BA8 for ; Sun, 9 Dec 2012 16:36:14 +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 C8L24ADRML4C for ; Sun, 9 Dec 2012 16:36:14 +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 F1B95884E1 for ; Sun, 9 Dec 2012 16:36:13 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u3so1081279wey.16 for ; Sun, 09 Dec 2012 08:36:13 -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=SJYe4PczmI+3DYd1KvWOkb2xBwT7noWWBw5oJpqrdnQ=; b=KMzfdsEcovX6vhocx3QCbau0Bd4JYYQKk8GQ3rKVkIoZVu5zWFArZI405+9lCS/f0c ybj5/aoBkBsD/ZLgdm5Rgkjbop7zvgoGImDN32El+laq46aTCVZiVl/SkWG3EjkUcS6I j08YPOidejG4QP2Hr2HjnHKG0IphW5osEDEmgGZwvMOvJJE8KV9c1U4kpPnWeb9MwycH 0JeXqQvCXzxuGocXcnsb1xHvrsQ964PVTscI11t4e5qSkZzllCijG0KV2brJVJ/7qE6k 5SifTKiwPOSijWQt2xE+GGSIVmfT0+VzK6vfWNX0rfO5lT3uNja0NmtRhzTKoC5VumjX VGxA== Received: by 10.216.30.16 with SMTP id j16mr4047587wea.42.1355070973461; Sun, 09 Dec 2012 08:36:13 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-76-30.w90-32.abo.wanadoo.fr. [90.32.155.30]) by mx.google.com with ESMTPS id fv2sm6587947wib.4.2012.12.09.08.36.12 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2012 08:36:12 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 9 Dec 2012 17:35:09 +0100 Message-Id: <1355070924-8009-37-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1355070924-8009-1-git-send-email-yann.morin.1998@free.fr> References: <1355070924-8009-1-git-send-email-yann.morin.1998@free.fr> Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 36/51] 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 bd83855..2cf4d65 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -131,6 +131,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 bf4515c..eb3b261 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 \