From: Remy Bohmer <linux@bohmer.net>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 1/9] [x86_64] Add x86_64 architecture strings.
Date: Sun, 18 Mar 2012 20:10:10 +0100 [thread overview]
Message-ID: <1332097818-23592-2-git-send-email-linux@bohmer.net> (raw)
In-Reply-To: <1332097818-23592-1-git-send-email-linux@bohmer.net>
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 <linux@bohmer.net>
---
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
next prev parent reply other threads:[~2012-03-18 19:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-18 19:10 [ptxdist] [PATCH 0/9] Add preliminary multilib support for x86_64 Remy Bohmer
2012-03-18 19:10 ` Remy Bohmer [this message]
2012-03-18 19:10 ` [ptxdist] [PATCH 2/9] [x86_64] libgcc need to be install in /lib64 instead of /lib Remy Bohmer
2012-03-18 19:10 ` [ptxdist] [PATCH 3/9] [x86_64, multilib] Remove all hardcoded paths from glibc.make Remy Bohmer
2012-03-18 19:10 ` [ptxdist] [PATCH 4/9] [x86_64, multilib] Make packages install their libraries at the right place Remy Bohmer
2012-03-19 14:58 ` Remy Bohmer
2012-03-19 16:17 ` Michael Olbrich
2012-03-19 19:07 ` Remy Bohmer
2012-03-20 8:40 ` Michael Olbrich
2012-03-20 9:28 ` Remy Bohmer
2012-03-21 9:19 ` Remy Bohmer
2012-03-18 19:10 ` [ptxdist] [PATCH 5/9] [x86_64, multilib] Install Zlib " Remy Bohmer
2012-03-18 19:10 ` [ptxdist] [PATCH 6/9] [x86_64, multilib] Install Ncurses " Remy Bohmer
2012-03-18 19:10 ` [ptxdist] [PATCH 7/9] [x86_64, multilib] Install Util-linux-ng " Remy Bohmer
2012-03-18 19:10 ` [ptxdist] [PATCH 8/9] [x86_64, multilib] Install Readline " Remy Bohmer
2012-03-18 19:10 ` [ptxdist] [PATCH 9/9] [x86_64, multilib] Install Procps " Remy Bohmer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1332097818-23592-2-git-send-email-linux@bohmer.net \
--to=linux@bohmer.net \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox