From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ee0-f44.google.com ([74.125.83.44]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1S9LUw-0007iZ-14 for ptxdist@pengutronix.de; Sun, 18 Mar 2012 20:10:53 +0100 Received: by eeke51 with SMTP id e51so2760282eek.31 for ; Sun, 18 Mar 2012 12:10:28 -0700 (PDT) From: Remy Bohmer Date: Sun, 18 Mar 2012 20:10:10 +0100 Message-Id: <1332097818-23592-2-git-send-email-linux@bohmer.net> In-Reply-To: <1332097818-23592-1-git-send-email-linux@bohmer.net> References: <1332097818-23592-1-git-send-email-linux@bohmer.net> Subject: [ptxdist] [PATCH 1/9] [x86_64] Add x86_64 architecture strings. Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de The ARCH_X86_64 architecture is added as subtype of ARCH_X86 since it basically is the same architecture, and a mix of both architectures will be required to allow multilib support in a later commit. Signed-off-by: Remy Bohmer --- platforms/architecture.in | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/platforms/architecture.in b/platforms/architecture.in index ed36e8a..f00108e 100644 --- a/platforms/architecture.in +++ b/platforms/architecture.in @@ -181,6 +181,16 @@ choice endchoice +if ARCH_X86 +# +# 32/64 bits platform +# +config ARCH_X86_64 + bool "64 bit architecture" + help + Select this option if you build for a 64 bit architecture. + +endif # # endianess @@ -263,7 +273,7 @@ config HAS_MMU config SIZEOF_LONG_DOUBLE string default "12" if ARCH_X86 -# default "16" if ARCH_X86_64 + default "16" if ARCH_X86_64 default "8" # FIXME: add more values @@ -277,7 +287,8 @@ config ARCH_STRING default "avr32" if ARCH_AVR32 default "alpha" if ARCH_ALPHA default "blackfin" if ARCH_BLACKFIN - default "i386" if ARCH_X86 + default "i386" if ARCH_X86 && !ARCH_X86_64 + default "x86_64" if ARCH_X86 && ARCH_X86_64 default "i386" if ARCH_MINGW default "m68k" if ARCH_M68K default "ppc" if ARCH_PPC -- 1.7.5.4 -- ptxdist mailing list ptxdist@pengutronix.de