From patchwork Mon Aug 3 12:47:03 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 30577 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 E4C76B6F2B for ; Tue, 4 Aug 2009 01:43:43 +1000 (EST) Received: from localhost ([127.0.0.1]:45743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXzhL-0004zW-GJ for incoming@patchwork.ozlabs.org; Mon, 03 Aug 2009 11:43:39 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXx07-000408-En 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-0003xh-If for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:51 -0400 Received: from [199.232.76.173] (port=51741 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXx01-0003xA-P8 for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:46 -0400 Received: from mx2.redhat.com ([66.187.237.31]:40918) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXx01-0007Em-7h for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:45 -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 n73CoicS007480; Mon, 3 Aug 2009 08:50:44 -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 n73CohL9027051; Mon, 3 Aug 2009 08:50:43 -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 n73Cn8NG009715; Mon, 3 Aug 2009 08:50:42 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Mon, 3 Aug 2009 14:47:03 +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 72/81] We also need TARGET_ in Makefiles 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 | 2 ++ create_config | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index ccf0fa2..5cd3b85 100755 --- a/configure +++ b/configure @@ -1980,6 +1980,8 @@ case "$target_arch2" in ;; esac echo "TARGET_ARCH=$TARGET_ARCH" >> $config_mak +target_arch_name="`echo $TARGET_ARCH | tr '[:lower:]' '[:upper:]'`" +echo "TARGET_$target_arch_name=y" >> $config_mak echo "TARGET_ARCH2=$target_arch2" >> $config_mak # TARGET_BASE_ARCH needs to be defined after TARGET_ARCH if [ "$TARGET_BASE_ARCH" = "" ]; then diff --git a/create_config b/create_config index 9dcbc5f..5bc8fb6 100755 --- a/create_config +++ b/create_config @@ -55,9 +55,7 @@ case $line in ;; TARGET_ARCH=*) # configuration target_arch=${line#*=} - arch_name=`echo $target_arch | tr '[:lower:]' '[:upper:]'` echo "#define TARGET_ARCH \"$target_arch\"" - echo "#define TARGET_$arch_name 1" ;; TARGET_BASE_ARCH=*) # configuration target_base_arch=${line#*=}