From patchwork Mon Aug 3 12:47:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 30576 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 47D87B7063 for ; Tue, 4 Aug 2009 01:40:52 +1000 (EST) Received: from localhost ([127.0.0.1]:44665 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXzea-0003kk-BT for incoming@patchwork.ozlabs.org; Mon, 03 Aug 2009 11:40:48 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXx07-00040G-G1 for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXx02-0003xx-WE for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:50 -0400 Received: from [199.232.76.173] (port=51742 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXx02-0003xX-FA for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:46 -0400 Received: from mx2.redhat.com ([66.187.237.31]:40920) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXx01-0007F6-VT for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:46 -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 n73CojuM007484; Mon, 3 Aug 2009 08:50:45 -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 n73CoieQ027063; Mon, 3 Aug 2009 08:50:44 -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 n73Cn8NH009715; Mon, 3 Aug 2009 08:50:43 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Mon, 3 Aug 2009 14:47:04 +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 73/81] use TARGET_ for selection 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 | 14 +++----------- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/Makefile.target b/Makefile.target index 22d1d53..2e49e73 100644 --- a/Makefile.target +++ b/Makefile.target @@ -47,14 +47,8 @@ libobj-$(CONFIG_SOFTFLOAT) += fpu/softfloat.o libobj-$(CONFIG_NOSOFTFLOAT) += fpu/softfloat-native.o libobj-y += op_helper.o helper.o libobj-$(CONFIG_NEED_MMU) += mmu.o - -ifeq ($(TARGET_BASE_ARCH), arm) -libobj-y += neon_helper.o iwmmxt_helper.o -endif - -ifeq ($(TARGET_BASE_ARCH), alpha) -libobj-y += alpha_palcode.o -endif +libobj-$(TARGET_ARM) += neon_helper.o iwmmxt_helper.o +libobj-$(TARGET_ALPHA) += alpha_palcode.o # NOTE: the disassembler code is only needed for debugging libobj-y += disas.o @@ -103,9 +97,7 @@ obj-y = main.o syscall.o strace.o mmap.o signal.o path.o thunk.o \ obj-$(TARGET_HAS_BFLT) += flatload.o obj-$(TARGET_HAS_ELFLOAD32) += elfload32.o -ifeq ($(TARGET_ARCH), i386) -obj-y += vm86.o -endif +obj-$(TARGET_I386) += vm86.o nwfpe-obj-y = fpa11.o fpa11_cpdo.o fpa11_cpdt.o fpa11_cprt.o fpopcode.o nwfpe-obj-y += single_cpdo.o double_cpdo.o extended_cpdo.o