From 5fcaf8b3ffd078a579b330edad51b3d749054dc4 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 14 Jun 2008 20:57:57 +0000 Subject: Preliminary Alpha support, courtesy Ioannis E. Venetis . /trunk/docs/CREDITS | 3 3 0 0 + /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 282 282 0 0 +++++++++++++++++++ /trunk/config/target.in | 9 9 0 0 + /trunk/arch/alpha/functions | 9 9 0 0 + /trunk/arch/alpha/config.in | 58 58 0 0 ++++ 5 files changed, 361 insertions(+) --- arch/alpha/config.in | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/alpha/functions | 9 ++++++++ 2 files changed, 67 insertions(+) create mode 100644 arch/alpha/config.in create mode 100644 arch/alpha/functions (limited to 'arch/alpha') diff --git a/arch/alpha/config.in b/arch/alpha/config.in new file mode 100644 index 00000000..3a7329d3 --- /dev/null +++ b/arch/alpha/config.in @@ -0,0 +1,58 @@ +# Alpha specific configuration file + +comment "Alpha specific configuration" + +choice + bool + prompt "Variant" + +config ARCH_ALPHA_EV4 + bool + prompt "EV4" + +config ARCH_ALPHA_EV45 + bool + prompt "EV45" + +config ARCH_ALPHA_EV5 + bool + prompt "EV5" + +config ARCH_ALPHA_EV56 + bool + prompt "EV56" + +config ARCH_ALPHA_EV6 + bool + prompt "EV6" + +config ARCH_ALPHA_EV67 + bool + prompt "EV67" + +endchoice + +config ARCH_ALPHA_VARIANT + string + default "ev4" if ARCH_ALPHA_EV4 + default "ev45" if ARCH_ALPHA_EV45 + default "ev5" if ARCH_ALPHA_EV5 + default "ev56" if ARCH_ALPHA_EV56 + default "ev6" if ARCH_ALPHA_EV6 + default "ev67" if ARCH_ALPHA_EV67 + +config ARCH_CPU + default "ev4" if ARCH_ALPHA_EV4 + default "ev45" if ARCH_ALPHA_EV45 + default "ev5" if ARCH_ALPHA_EV5 + default "ev56" if ARCH_ALPHA_EV56 + default "ev6" if ARCH_ALPHA_EV6 + default "ev67" if ARCH_ALPHA_EV67 + +config ARCH_TUNE + default "ev4" if ARCH_ALPHA_EV4 + default "ev45" if ARCH_ALPHA_EV45 + default "ev5" if ARCH_ALPHA_EV5 + default "ev56" if ARCH_ALPHA_EV56 + default "ev6" if ARCH_ALPHA_EV6 + default "ev67" if ARCH_ALPHA_EV67 diff --git a/arch/alpha/functions b/arch/alpha/functions new file mode 100644 index 00000000..ea8ef536 --- /dev/null +++ b/arch/alpha/functions @@ -0,0 +1,9 @@ +# Compute Alpha-specific values + +CT_DoArchValues () { + # The architecture part of the tuple: + CT_TARGET_ARCH="${CT_ARCH}${CT_ARCH_ALPHA_VARIANT}" + + # The kernel ARCH: + CT_KERNEL_ARCH=${CT_ARCH} +} -- cgit v1.2.3