From patchwork Tue Jan 29 22:44:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 216703 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 B72882C0090 for ; Wed, 30 Jan 2013 09:47:16 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B3524A0236; Tue, 29 Jan 2013 22:47:17 +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 BsmIGX1f+qcm; Tue, 29 Jan 2013 22:47:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 7D919A0230; Tue, 29 Jan 2013 22:45:58 +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 4D2428F753 for ; Tue, 29 Jan 2013 22:45:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F33028CA2A for ; Tue, 29 Jan 2013 22:44:54 +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 Wagjkv0jqMrt for ; Tue, 29 Jan 2013 22:44:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1F57A8CA40 for ; Tue, 29 Jan 2013 22:44:48 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id s43so710524wey.7 for ; Tue, 29 Jan 2013 14:44:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references; bh=VZAUxNJp6e04bpq8Sat1hb5BzQXDEStJ7Pne9kQP3s4=; b=y/PblTYJN2Z6MC8/EfCIxqV9hgjnyTotOOA45gRTsyzVedJL6yRhU2qEoAGppxc6dk QwNWFtgtYckfZJRsrsiWJP8p1bYguYuqdC/APscfa2fI15Ixvpv6+dbGnRVl1iW8/o22 Bn36EfxNl4fK0GQ05KqSLgKtzgY8lQxywhnlV7XZt1Rz4J3/iVnRB9B8awRqvz3CVjKq BCuUd9TsA8YACQIuL61J/xczVy+0ysJywaKmeGUwgV0qZepSW+7FoTHjYFcZkE0sogmh q3tbvZ8FszzA6qU/pIwmALtQAywZA+6wlo5dgd1G8sKc+QccYi6VFCuuUx30AFzvbDhO 8qbg== X-Received: by 10.180.88.134 with SMTP id bg6mr5069276wib.26.1359499487665; Tue, 29 Jan 2013 14:44:47 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-39-23.w90-32.abo.wanadoo.fr. [90.32.22.23]) by mx.google.com with ESMTPS id ge2sm5826459wib.4.2013.01.29.14.44.45 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 29 Jan 2013 14:44:46 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Tue, 29 Jan 2013 23:44:00 +0100 Message-Id: <4416afb15d94a17b3e3ab3d2e49dd6a9d096fe1d.1359498903.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 16/29] package/qemu: enable use of the curses 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 | 11 +++++++++++ package/qemu/qemu.mk | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletions(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index 4e5b81b..dbe7cb9 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -113,6 +113,17 @@ config BR2_PACKAGE_QEMU_SDL Say 'y' to enable the SDL frontend, that is, a graphical window presenting the VM's display. +config BR2_PACKAGE_QEMU_CURSES + bool "Enable the curses frontend" + select BR2_PACKAGE_NCURSES + help + Say 'y' to use curses to display the text-mode of VGA outpout. + + If the VM's graphic adapter does not support VGA text-mode, or it + is in graphical mode, then nothing will be displayed with this + frontend (although you can still use the SDL or VNC frontends to + display the graphical output). + comment "Block backends" config BR2_PACKAGE_QEMU_VIRTFS diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 6fda51e..055c151 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -149,6 +149,13 @@ else QEMU_OPTS += --disable-sdl endif +ifeq ($(BR2_PACKAGE_QEMU_CURSES),y) +QEMU_OPTS += --enable-curses +QEMU_DEPENDENCIES += ncurses +else +QEMU_OPTS += --disable-curses +endif + ifeq ($(BR2_PACKAGE_QEMU_VIRTFS),y) QEMU_OPTS += --enable-virtfs else @@ -269,7 +276,6 @@ define QEMU_CONFIGURE_CMDS --disable-slirp \ --disable-vnc-sasl \ --disable-brlapi \ - --disable-curses \ --disable-fdt \ --disable-bluez \ --disable-guest-base \