From patchwork Wed Oct 24 21:26:01 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: 193986 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id E004A2C009B for ; Thu, 25 Oct 2012 08:30:46 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8809931056; Wed, 24 Oct 2012 21:30:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g4Tj85ysV11h; Wed, 24 Oct 2012 21:30:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E156831058; Wed, 24 Oct 2012 21:30:41 +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 770788F74A for ; Wed, 24 Oct 2012 21:27:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1C18D8C814 for ; Wed, 24 Oct 2012 21:27:08 +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 L7wV8jcYjboy for ; Wed, 24 Oct 2012 21:26:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9050D8C903 for ; Wed, 24 Oct 2012 21:26:51 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id s43so650111wey.16 for ; Wed, 24 Oct 2012 14:26:51 -0700 (PDT) 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=NGLyD/THmci501VqYB4WmF02UPpOGYyDJylh3AkKo2Q=; b=Qh0RfJkJdKBsz7b09MYPXp4vWHbYz9urk/+q48+6Awz1HaZ9CbagwFxmD29dE2hC+T 6jHOSFLvMAx712xZIeNzR7hnWuRY3QBObEZyt8MU6fpaOfw+74iNeDhFYgzjuFfYzSnb 2yOB8cPvSDvNj5mE3zCCzYapKaGfGIZ4DoqSWvmxtwsY0jvgt3VhlkZYzGb5xK1Tx8U7 c9lWyAaOwiw/SbU+GEf3iexpH86V05ajqkiWk4yOsaRC30exkXZBdQMbR2wBNBom2iAi 2VbHQhAyeZi2n9gneMhtQ4bcBW1onWAg5FRpRELV5DmNh/3ICzSGUzKnYwd6dSU3FSoG 1JIA== Received: by 10.180.100.97 with SMTP id ex1mr8689055wib.17.1351114011201; Wed, 24 Oct 2012 14:26:51 -0700 (PDT) Received: from localhost.localdomain (ARennes-256-1-66-54.w90-32.abo.wanadoo.fr. [90.32.145.54]) by mx.google.com with ESMTPS id hb6sm6371161wib.7.2012.10.24.14.26.50 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Oct 2012 14:26:50 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Wed, 24 Oct 2012 23:26:01 +0200 Message-Id: <1351113973-17237-36-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr> References: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr> Cc: bjornar.ness@gmail.com, "Yann E. MORIN" Subject: [Buildroot] [PATCH 35/47] 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 d03e980..8dff88f 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -115,6 +115,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 6eb6e8f..5f7021c 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -83,6 +83,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 @@ -201,7 +208,6 @@ define QEMU_CONFIGURE_CMDS --disable-slirp \ --disable-vnc-sasl \ --disable-brlapi \ - --disable-curses \ --disable-fdt \ --disable-bluez \ --disable-guest-base \