From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14131 invoked by alias); 30 May 2012 23:34:54 -0000 Received: (qmail 13989 invoked by uid 22791); 30 May 2012 23:34:53 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from usmamail.tilera.com (HELO USMAMAIL.TILERA.COM) (12.216.194.151) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 May 2012 23:34:20 +0000 Received: from farm-0002.internal.tilera.com (10.2.0.32) by USMAEXCH2.tad.internal.tilera.com (10.3.0.33) with Microsoft SMTP Server (TLS) id 14.0.694.0; Wed, 30 May 2012 19:34:19 -0400 Received: (from cmetcalf@localhost) by farm-0002.internal.tilera.com (8.13.8/8.12.11/Submit) id q4UNYJGl011555; Wed, 30 May 2012 19:34:19 -0400 Message-ID: <201205302334.q4UNYJGl011555@farm-0002.internal.tilera.com> From: Chris Metcalf Date: Wed, 30 May 2012 23:34:00 -0000 Subject: [PATCH] tile: don't guard setting abi- variables with ifeq ($(subdir),misc) To: MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00202.txt.bz2 --- Joseph, you may want to check how mips is doing this, since I originally copied the "make" support from mips. It worked fine to create syscall.h, but it was missing out on creating the multiple versions of stub.h, until I removed the $(subdir) guard, which presumably is somewhat pointless when we're just setting some variables anyway. I note that the new arm support doesn't use a $(subdir) guard either. ChangeLog.tile | 3 +++ sysdeps/unix/sysv/linux/tile/tilegx/Makefile | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ChangeLog.tile b/ChangeLog.tile index 3d52040..ce8c3e0 100644 --- a/ChangeLog.tile +++ b/ChangeLog.tile @@ -1,5 +1,8 @@ 2012-05-30 Chris Metcalf + * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Remove test + that $(subdir) is "misc" when setting abi- variables. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Makefile: New file. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/Makefile: New file. diff --git a/sysdeps/unix/sysv/linux/tile/tilegx/Makefile b/sysdeps/unix/sysv/linux/tile/tilegx/Makefile index f21610c..4f101f3 100644 --- a/sysdeps/unix/sysv/linux/tile/tilegx/Makefile +++ b/sysdeps/unix/sysv/linux/tile/tilegx/Makefile @@ -1,10 +1,6 @@ -ifeq ($(subdir),misc) - # Provide biarch definitions. abi-variants := 64 32 abi-64-options := -D__LP64__ abi-64-condition := __WORDSIZE == 64 abi-32-options := -U__LP64__ abi-32-condition := __WORDSIZE == 32 - -endif -- 1.7.1