From patchwork Wed Aug 12 16:29:54 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 31222 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 101CAB6F2B for ; Thu, 13 Aug 2009 03:07:10 +1000 (EST) Received: from localhost ([127.0.0.1]:43310 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbHI2-0005Qv-UM for incoming@patchwork.ozlabs.org; Wed, 12 Aug 2009 13:07:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbGkU-0008Dd-Ta for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbGkK-0007zR-Be for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:20 -0400 Received: from [199.232.76.173] (port=39164 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbGkK-0007zG-56 for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:16 -0400 Received: from mx2.redhat.com ([66.187.237.31]:55716) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbGkJ-0004KB-Eb for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:15 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7CGWEg9018329 for ; Wed, 12 Aug 2009 12:32:14 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n7CGWDem015784; Wed, 12 Aug 2009 12:32:14 -0400 Received: from localhost.localdomain (vpn-12-196.rdu.redhat.com [10.11.12.196]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n7CGW57C003505; Wed, 12 Aug 2009 12:32:13 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 12 Aug 2009 18:29:54 +0200 Message-Id: <704f55c14af3799e882720b54f0ae24a83f37bbb.1250093910.git.quintela@redhat.com> In-Reply-To: <71025e96da7eb85957e11d9cf4530c1ee81577d5.1250093910.git.quintela@redhat.com> References: <71025e96da7eb85957e11d9cf4530c1ee81577d5.1250093910.git.quintela@redhat.com> In-Reply-To: References: X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [Qemu-devel] [PATCH 17/20] Add fdt to new feature convention X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Juan Quintela --- configure | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/configure b/configure index cc37a47..9ce51a5 100755 --- a/configure +++ b/configure @@ -184,6 +184,7 @@ brlapi="" curl="" curses="" docs="" +fdt="" nptl="" pthread="" sdl="" @@ -222,7 +223,6 @@ kvm="no" kerneldir="" aix="no" blobs="yes" -fdt="yes" xen="yes" pkgversion="" @@ -529,6 +529,10 @@ for opt do ;; --enable-curl) curl="yes" ;; + --disable-fdt) fdt="no" + ;; + --enable-fdt) fdt="yes" + ;; --disable-nptl) nptl="no" ;; --enable-nptl) nptl="yes" @@ -666,6 +670,8 @@ echo " --disable-curses disable curses output" echo " --enable-curses enable curses output" echo " --disable-curl disable curl connectivity" echo " --enable-curl enable curl connectivity" +echo " --disable-fdt disable fdt device tree" +echo " --enable-fdt enable fdt device tree" echo " --disable-bluez disable bluez stack connectivity" echo " --enable-bluez enable bluez stack connectivity" echo " --disable-kvm disable KVM acceleration support" @@ -1340,8 +1346,7 @@ fi ########################################## # fdt probe -if test "$fdt" = "yes" ; then - fdt=no +if test "$fdt" != "no" ; then fdt_libs="-lfdt" cat > $TMPC << EOF int main(void) { return 0; } @@ -1349,6 +1354,11 @@ EOF if compile_prog "" "$fdt_libs" ; then fdt=yes libs_softmmu="$fdt_libs $libs_softmmu" + else + if test "$fdt" = "yes" ; then + feature_not_found "fdt" + fi + fdt=no fi fi