summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-02-09 13:14:22 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-02-09 13:14:22 +0000
commitf1c3d4051aa22f981439ead0df4a1c53ff436891 (patch)
treecea0cb8ff66173efd7b7030ea097334237da8fdc
parent9cde6f35347e13127a28d5c1e42683c4c1a1c634 (diff)
downloadOSELAS.Toolchain-f1c3d4051aa22f981439ead0df4a1c53ff436891.tar.gz
* architecture.in:
added git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@9555 f8d472c7-5700-0410-ac5a-87979cec3adf
-rw-r--r--rules/architecture.in55
1 files changed, 55 insertions, 0 deletions
diff --git a/rules/architecture.in b/rules/architecture.in
new file mode 100644
index 0000000..3308ef0
--- /dev/null
+++ b/rules/architecture.in
@@ -0,0 +1,55 @@
+choice
+ prompt "architecture "
+
+ config ARCH_ARM
+ bool "arm "
+
+ config ARCH_M68K
+ bool "m68k "
+
+ config ARCH_MIPS
+ bool "mips "
+
+ config ARCH_POWERPC
+ bool "powerpc"
+
+ config ARCH_I386
+ bool "i386 "
+
+ config ARCH_AVR
+ bool "AVR-8 "
+
+ config ARCH_AVR32
+ bool "AVR-32 "
+
+ help
+ This option specifies the toolchain architecture. It corresponds to
+ the arch/ directory of the Linux kernel.
+
+endchoice
+
+config ARCH
+ string
+ default "arm" if ARCH_ARM
+ default "avr" if ARCH_AVR
+ default "avr32" if ARCH_AVR32
+ default "m68k" if ARCH_M68K
+ default "i386" if ARCH_I386
+ default "mips" if ARCH_MIPS
+ default "powerpc" if ARCH_POWERPC
+
+config GNU_TARGET
+ string
+ prompt "toolchain target"
+ help
+ The GNU_TARGET specifies which toolchain variant is to be
+ built.
+
+#
+# sizeof long double
+#
+config SIZEOF_LONG_DOUBLE
+ string
+ default "12" if ARCH_I386
+ default "16" if ARCH_X86_64
+ default "8"