From patchwork Mon Dec 10 23:44:58 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: 205092 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 64EA32C00F8 for ; Tue, 11 Dec 2012 10:50:44 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C92DDA0171; Mon, 10 Dec 2012 23:50:42 +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 mCachOQP5bXu; Mon, 10 Dec 2012 23:50:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A6FCFA01B1; Mon, 10 Dec 2012 23:48:13 +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 611B18F74B for ; Mon, 10 Dec 2012 23:46:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EF7D98AA3A for ; Mon, 10 Dec 2012 23:46:51 +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 AqFygKFSVo2H for ; Mon, 10 Dec 2012 23:46:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id C2ADF8AF63 for ; Mon, 10 Dec 2012 23:45:56 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id hn14so1454684wib.10 for ; Mon, 10 Dec 2012 15:45:56 -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; bh=PSin8azQ8OVim+RrDs0KSpTexgsKZ4YmzSE37nISiW4=; b=G1TlRYE7w7qtd65ZQivwB9WJkoPEdW7imKE41nBonXZ/1j5cUeZBsyVAyArr0PAAP9 xKKlu5Teoi4esynQoctYSwmV4TLesFAT6jd16Hb52lJ0EQbPqOvacA2S2v3uOKhNQ1Cl vHmTLl9QPki53ez5plkbrnJrnTwOSOZ9n5WbCKJmhLlsvxT5Yyouk4W7hGx9WHE361MS bZ57y3lJIvXW+O4j3N9jz9KT3H2e/1qQ7GA7bMsL33HB8275xcyC7aAdf5FZ2rz46OGd nQF5pckckCiN9wprxhQcPEdbSNRpjNfIPtq1roIdZF4J+nHIYkDWsaYyZOJhLMmulziD G71A== Received: by 10.180.81.232 with SMTP id d8mr13679468wiy.14.1355183156570; Mon, 10 Dec 2012 15:45:56 -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 bz12sm13895257wib.5.2012.12.10.15.45.55 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Dec 2012 15:45:56 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Tue, 11 Dec 2012 00:44:58 +0100 Message-Id: <1355183112-10735-39-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1355183112-10735-1-git-send-email-yann.morin.1998@free.fr> References: <1355183112-10735-1-git-send-email-yann.morin.1998@free.fr> Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 38/52] 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 e0270f0..90197f9 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 \