From patchwork Wed Oct 24 21:25:40 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: 193964 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id B15942C009B for ; Thu, 25 Oct 2012 08:27:55 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 707A58C814; Wed, 24 Oct 2012 21:27:52 +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 khEfHr3OIypW; Wed, 24 Oct 2012 21:27:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 506678C8DE; Wed, 24 Oct 2012 21:27:47 +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 DB1BE8F74A for ; Wed, 24 Oct 2012 21:26:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7E5958C8E7 for ; Wed, 24 Oct 2012 21:26:42 +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 n2eXzcTUnRzd for ; Wed, 24 Oct 2012 21:26:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by whitealder.osuosl.org (Postfix) with ESMTPS id 40CB58C8E4 for ; Wed, 24 Oct 2012 21:26:33 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id hq4so4123060wib.10 for ; Wed, 24 Oct 2012 14:26:32 -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=TnsKEnYqBoWOytbfvi0zQKjzNWlq7U0SNLLIKoj1Bqo=; b=jhjQ36EPg+9k0SHC1cMTQyu3ySuTXOBn43ge77ktZ5H534OI1hZUhNlY+gIHunY9zC JYCYEZb34AmbNx6rk2y4sDnXv+8IPd+vLHUvMubH/jpYpZZilOuSB08lJcaeZtcFQa5x TTIR0sd9ZOO+aXdftXrX15wdEHuqXvmZT/j0RhkuGJvDCK2SaE7T9EVKZ0iOCGoJxu+A bvuIGldHyms3iUV8IU3zPEISGCYlbVSqcqxJZ+fSUAQKAIkHkNWSOlnhUEz1x5bzWFAv ovD9WL2tgY+Ri40VdeCrWmlnne8bo7+iK7q9la0ZjDdWuFTACZr2JdSZwcDV39Dd76Pb SWew== Received: by 10.216.134.85 with SMTP id r63mr9431005wei.150.1351113992864; Wed, 24 Oct 2012 14:26:32 -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.32 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Oct 2012 14:26:32 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Wed, 24 Oct 2012 23:25:40 +0200 Message-Id: <1351113973-17237-15-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 14/47] package/spice: enable slirp support 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/spice/Config.in | 7 +++++++ package/spice/spice.mk | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletions(-) diff --git a/package/spice/Config.in b/package/spice/Config.in index 6e6233d..846bee1 100644 --- a/package/spice/Config.in +++ b/package/spice/Config.in @@ -40,4 +40,11 @@ config BR2_PACKAGE_SPICE_GUI Say 'y' here to enable the Graphical User Interface (GUI) start dialog. +config BR2_PACKAGE_SPICE_TUNNEL + bool "Enable network redirection" + select BR2_PACKAGE_SLIRP + help + Say 'y' here to enable network redirection, aka tunnelling + through a SLIP/SLIRP session. + endif # BR2_PACKAGE_SPICE diff --git a/package/spice/spice.mk b/package/spice/spice.mk index 9253e35..2bc452b 100644 --- a/package/spice/spice.mk +++ b/package/spice/spice.mk @@ -22,7 +22,6 @@ SPICE_DEPENDENCIES = \ # We disable everything for now, because the dependency tree can become # quite deep if we try to enable some features, and I have not tested that. SPICE_CONF_OPT = \ - --disable-tunnel \ --disable-opengl \ --disable-smartcard \ --disable-automated-tests \ @@ -42,6 +41,13 @@ else SPICE_CONF_OPT += --disable-gui endif +ifeq ($(BR2_PACKAGE_SPICE_TUNNEL),y) +SPICE_CONF_OPT += --enable-tunnel +SPICE_DEPENDENCIES += slirp +else +SPICE_CONF_OPT += --disable-tunnel +endif + SPICE_DEPENDENCIES += host-pkg-config SPICE_CONF_ENV = PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages