From patchwork Sun Dec 16 17:01:34 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: 206710 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 4DABD2C00A4 for ; Mon, 17 Dec 2012 04:02:37 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 87E6DA011B; Sun, 16 Dec 2012 17:02:36 +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 XHfBA8V5PpQT; Sun, 16 Dec 2012 17:02:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 22BDFA00F8; Sun, 16 Dec 2012 17:02:25 +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 959DC8F74B for ; Sun, 16 Dec 2012 17:02:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 192B180C10 for ; Sun, 16 Dec 2012 17:02:13 +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 jk4SW3arC--I for ; Sun, 16 Dec 2012 17:02:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1D0E280C0E for ; Sun, 16 Dec 2012 17:02:11 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id e12so2204621wge.10 for ; Sun, 16 Dec 2012 09:02:10 -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:in-reply-to:references; bh=YDL4kJABWROQoYTe0cBt84RK4S5sxfJeupxrWqXZI6Q=; b=FLeFWe8kWo5JVgLkLJZjgR4+tfD1UAnHiEAy3SKqZZn/BfheRH2MXI4qITL6oyiqOw Hhl+vIhWBUiz5rTms8iyO7U2pJhh3TCyDhw2YHFjnkay84GIbr3zM4ovPXTengtdfxMD UdIpF19kVwO6AbA8LXt/3b8ojOMh+VBxqMEWwckdOQidas76HpD7LAMffyfOJPqgbxiq 4gJUYZ88652EKEW0exhQG5ahpVURn28b1v6GIbQDWodJivpJg+dFky4/XIXUPNjxFqt5 yo25RbihCbHmlJxIXjYt+IaDTomve/jY8OoKjG/rQpxUd5DsvQiStMCHgd05to7o2gIy a5hA== Received: by 10.194.20.231 with SMTP id q7mr12695227wje.44.1355677330498; Sun, 16 Dec 2012 09:02:10 -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 w5sm7363031wif.11.2012.12.16.09.02.08 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Dec 2012 09:02:09 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 16 Dec 2012 18:01:34 +0100 Message-Id: X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 05/27] package/qemu: add option to enable/disable the VNC frontend 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/qemu/Config.in | 7 +++++++ package/qemu/qemu.mk | 11 ++++++++++- 2 files changed, 17 insertions(+), 1 deletions(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index a92ca00..057c1d6 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -77,6 +77,13 @@ endif # BR2_PACKAGE_QEMU_CUSTOM_TARGETS == "" comment "Frontends" +config BR2_PACKAGE_QEMU_VNC + bool "Enable VNC frontend" + select BR2_PACKAGE_VNC + help + Say 'y' to enable the VNC frontend, that is, QEMU will act as a + VNC server presenting the VM's display. + config BR2_PACKAGE_QEMU_SDL bool "Enable SDL frontend" select BR2_PACKAGE_SDL diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index f102637..011f176 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -114,6 +114,12 @@ ifneq ($(call qstrip,$(BR2_PACKAGE_QEMU_CUSTOM_TARGETS)),) QEMU_OPTS += --target-list="$(call qstrip,$(BR2_PACKAGE_QEMU_CUSTOM_TARGETS))" endif +ifeq ($(BR2_PACKAGE_QEMU_VNC),y) +QEMU_OPTS += --enable-vnc +else +QEMU_OPTS += --disable-vnc +endif + ifeq ($(BR2_PACKAGE_QEMU_SDL),y) QEMU_OPTS += --enable-sdl QEMU_DEPENDENCIES += sdl @@ -145,7 +151,10 @@ define QEMU_CONFIGURE_CMDS --disable-bsd-user \ --disable-xen \ --disable-slirp \ - --disable-vnc \ + --disable-vnc-jpeg \ + --disable-vnc-png \ + --disable-vnc-tls \ + --disable-vnc-sasl \ --disable-virtfs \ --disable-brlapi \ --disable-curses \