From patchwork Sun Dec 16 17:01:44 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: 206722 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 660502C008D for ; Mon, 17 Dec 2012 04:03:44 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 3332AA00ED; Sun, 16 Dec 2012 17:03:43 +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 p2X3Nn459FJb; Sun, 16 Dec 2012 17:03:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E9AFDA012D; Sun, 16 Dec 2012 17:02:55 +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 0A6C08F74B for ; Sun, 16 Dec 2012 17:02:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 86BCD80C10 for ; Sun, 16 Dec 2012 17:02:30 +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 MmcZ21rmHEb9 for ; Sun, 16 Dec 2012 17:02:29 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by whitealder.osuosl.org (Postfix) with ESMTPS id 92CBF80C0E for ; Sun, 16 Dec 2012 17:02:29 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id hm2so1460394wib.10 for ; Sun, 16 Dec 2012 09:02:27 -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=9MaBSCOdkK0dFbjD1I9HSygisCqQxXFO2TVlKCkpffA=; b=VigfUORuRWIkqjyWtJ+wZ7gWgiiAzGh0PBEde1gCG3THy+e6/AR8Yr0BDtFvdYo1QS jb4/L4rQpTHaung0nSGpJ/dNgPJ6jqR/ueVVOi8vfkpIDNdSVHS+ScCwV0ZMy7Wf15np xw1OtQl98gxeChax0BiEsGEKspkbnYTJEX7Qc9d9WP1zm8d5pzfsWw4ukL8Mmylvszd1 zPnNAXAYm0uA42i4kUwr1ol9JvTNY+7esY0gGv7p6qJZabdmjMjIJ1hraxgAUNwvAjKq sx6mu5B4Nqvwz35OGq8Jb3QHNppDBUm2OFlHAH3WolQDHZXjCe8tb1FQvyshdIyrc7oJ ld0Q== Received: by 10.194.78.162 with SMTP id c2mr12657490wjx.46.1355677347749; Sun, 16 Dec 2012 09:02:27 -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.26 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Dec 2012 09:02:27 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 16 Dec 2012 18:01:44 +0100 Message-Id: <72f4cdc758005c2b66838ae2c444b34b0608b257.1355677144.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 15/27] 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 47857ec..15239a7 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -112,6 +112,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 5064ab8..0db3b70 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 @@ -268,7 +275,6 @@ define QEMU_CONFIGURE_CMDS --disable-slirp \ --disable-vnc-sasl \ --disable-brlapi \ - --disable-curses \ --disable-fdt \ --disable-bluez \ --disable-guest-base \