From patchwork Sun Aug 12 23:54:03 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: 176819 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 B462B2C0080 for ; Mon, 13 Aug 2012 09:59:01 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4D6DD8C0E0; Sun, 12 Aug 2012 23:58:56 +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 26uEZ7ihF4TL; Sun, 12 Aug 2012 23:58:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 53D7B8C0E6; Sun, 12 Aug 2012 23:58:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id A17488F791 for ; Sun, 12 Aug 2012 23:54:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9CDC2A01E7 for ; Sun, 12 Aug 2012 23:54:33 +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 MJcYUj3ZXVUd for ; Sun, 12 Aug 2012 23:54:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.smtpout.orange.fr (smtp10.smtpout.orange.fr [80.12.242.132]) by hemlock.osuosl.org (Postfix) with ESMTP id 053E1A00CC for ; Sun, 12 Aug 2012 23:54:31 +0000 (UTC) Received: from treguer.bzh.lan ([90.32.165.248]) by mwinf5d33 with ME id lzuQ1j0055MspoA03zuWJG; Mon, 13 Aug 2012 01:54:30 +0200 From: "Yann E. MORIN" To: buildroot@busybox.net Date: Mon, 13 Aug 2012 01:54:03 +0200 Message-Id: <1344815664-28138-15-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1344815664-28138-1-git-send-email-yann.morin.1998@free.fr> References: <1344815664-28138-1-git-send-email-yann.morin.1998@free.fr> Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 15/36] 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 4f678a7..bf24126 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -74,6 +74,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 f210866..caed5ee 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -47,6 +47,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 @@ -79,7 +85,10 @@ define QEMU_CONFIGURE_CMDS --enable-vhost-net \ --disable-xen \ --disable-slirp \ - --disable-vnc \ + --disable-vnc-jpeg \ + --disable-vnc-png \ + --disable-vnc-tls \ + --disable-vnc-sasl \ --disable-virtfs \ --disable-brlapi \ --disable-curses \