From patchwork Sun Dec 9 16:35:24 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: 204753 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 0A2832C01FD for ; Mon, 10 Dec 2012 03:42:12 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C05CAA028F; Sun, 9 Dec 2012 16:42:10 +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 fn075SxseZh6; Sun, 9 Dec 2012 16:41:58 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id ED4A8A02A8; Sun, 9 Dec 2012 16:37:49 +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 3FDF88F74B for ; Sun, 9 Dec 2012 16:36:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 297F8885F8 for ; Sun, 9 Dec 2012 16:36:31 +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 JMBJPzZ0nzwC for ; Sun, 9 Dec 2012 16:36:30 +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 BFD5E81BA8 for ; Sun, 9 Dec 2012 16:36:29 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id hm2so556696wib.10 for ; Sun, 09 Dec 2012 08:36:29 -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=/5tq/HNraIWEaj4mLbJ4j9LbU/qgsMU0Z7/kHNkyKg8=; b=RlK55SczRjIRIcayRN8G5ymeCELmcG/8owljWqM+5sh85aaEOTAIr5bVfa2L4X2ZLZ JgOiOOcD7e3B+Fkbsg7U/bennzeWtsJy0vO38zpaz1as0ZGI+dr/1nE7ogcbN34wfCE+ DwTP7sPdGm3wYazN6DvhXp6hM0y35LCa5OA4KEe6GX22RDeH/3WVyvb01qe73T1W7Pyi L2gX/butgdzJ1U2eYF7KMH50BDmwnLNkg47BN4PTHv45bYJRb8KtCwaS8I78RoNTafo0 flBknqBHAoZDeCP1FHVmdyvMWfD7UiH/BxEyPRg80kdUw0T8IG4gS8wP82UvvCLZloE6 lZpg== Received: by 10.180.87.225 with SMTP id bb1mr6915389wib.20.1355070989196; Sun, 09 Dec 2012 08:36:29 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-76-30.w90-32.abo.wanadoo.fr. [90.32.155.30]) by mx.google.com with ESMTPS id fv2sm6587947wib.4.2012.12.09.08.36.28 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2012 08:36:28 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 9 Dec 2012 17:35:24 +0100 Message-Id: <1355070924-8009-52-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1355070924-8009-1-git-send-email-yann.morin.1998@free.fr> References: <1355070924-8009-1-git-send-email-yann.morin.1998@free.fr> Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 51/51] package/qemu: add support for FDT 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 FDT is the Flat Device Tree, and allows QEMU to pass DTs to the VMs. Signed-off-by: "Yann E. MORIN" --- package/qemu/Config.in | 7 +++++++ package/qemu/qemu.mk | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletions(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index 95fa63b..568791f 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -256,6 +256,13 @@ comment "Alsa sound static link works only if BR2_PREFER_STATIC is set" comment "Misc. features" +config BR2_PACKAGE_QEMU_FDT + bool "Enable FDT" + select BR2_PACKAGE_DTC + help + Say 'y' here to have QEMU capable of constructing Device Trees, + and passing them to the VMs. + config BR2_PACKAGE_QEMU_UUID bool "Enable VMs UUID" depends on BR2_PACKAGE_UTIL_LINUX_LIBUUID diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index ab5ad9c..50d0ac5 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -228,6 +228,13 @@ ifeq ($(BR2_PACKAGE_QEMU_MIXEMU),y) QEMU_OPTS += --enable-mixemu endif +ifeq ($(BR2_PACKAGE_QEMU_FDT),y) +QEMU_OPTS += --enable-fdt +QEMU_DEPENDENCIES += dtc +else +QEMU_OPTS += --disable-fdt +endif + ifeq ($(BR2_PACKAGE_QEMU_UUID),y) QEMU_OPTS += --enable-uuid QEMU_DEPENDENCIES += util-linux @@ -348,7 +355,6 @@ define QEMU_CONFIGURE_CMDS --disable-slirp \ --disable-vnc-sasl \ --disable-brlapi \ - --disable-fdt \ --disable-guest-base \ --disable-rbd \ --disable-smartcard \