From patchwork Mon Aug 3 12:46:42 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 30554 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 8D640B6F2B for ; Tue, 4 Aug 2009 00:38:46 +1000 (EST) Received: from localhost ([127.0.0.1]:45259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXygV-0003qs-AP for incoming@patchwork.ozlabs.org; Mon, 03 Aug 2009 10:38:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXwze-0003h6-S9 for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXwza-0003dg-B5 for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:22 -0400 Received: from [199.232.76.173] (port=51708 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXwza-0003dY-6q for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:18 -0400 Received: from mx2.redhat.com ([66.187.237.31]:40863) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXwzZ-000787-Lh for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:17 -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 n73CoH8d007195; Mon, 3 Aug 2009 08:50:17 -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 n73CoFnJ026735; Mon, 3 Aug 2009 08:50:16 -0400 Received: from localhost.localdomain (vpn-12-117.rdu.redhat.com [10.11.12.117]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n73Cn8Mt009715; Mon, 3 Aug 2009 08:50:14 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Mon, 3 Aug 2009 14:46:42 +0200 Message-Id: In-Reply-To: References: 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) Cc: aliguori@us.ibm.com Subject: [Qemu-devel] [PATCH 51/81] Introduce CONFIG_NOSOFTFLOAT and simplify Makefile.target 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 --- Makefile.target | 8 +++----- configure | 3 +++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile.target b/Makefile.target index 6234648..cff80c7 100644 --- a/Makefile.target +++ b/Makefile.target @@ -58,12 +58,10 @@ QEMU_CFLAGS+=-I$(SRC_PATH)/tcg -I$(SRC_PATH)/tcg/$(ARCH) ifeq ($(ARCH),sparc64) QEMU_CFLAGS+=-I$(SRC_PATH)/tcg/sparc endif -ifdef CONFIG_SOFTFLOAT -libobj-y += fpu/softfloat.o -else -libobj-y += fpu/softfloat-native.o -endif QEMU_CFLAGS+=-I$(SRC_PATH)/fpu + +libobj-$(CONFIG_SOFTFLOAT) += fpu/softfloat.o +libobj-$(CONFIG_NOSOFTFLOAT) += fpu/softfloat-native.o libobj-y += op_helper.o helper.o ifeq ($(TARGET_BASE_ARCH), arm) diff --git a/configure b/configure index fd7c6b0..8cfd4ad 100755 --- a/configure +++ b/configure @@ -2043,6 +2043,9 @@ case "$target_arch2" in arm|armeb|m68k|microblaze|mips|mipsel|mipsn32|mipsn32el|mips64|mips64el|ppc|ppc64|ppc64abi32|ppcemb|sparc|sparc64|sparc32plus) echo "CONFIG_SOFTFLOAT=y" >> $config_mak ;; + *) + echo "CONFIG_NOSOFTFLOAT=y" >> $config_mak + ;; esac if test "$target_user_only" = "yes" -a "$bflt" = "yes"; then