diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-03 12:30:58 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-03 12:30:58 (GMT) |
commit | 50ea3b751de4c94606bebc56a385324f130c33a8 (patch) | |
tree | 61e455f065ecc300533d36748f1b264b4efd29da /config/arch/alpha | |
parent | 601ec482e1a8b8952a42fe01877053e286b10a99 (diff) |
Second shot at moving arch/ into config/arch/ .
Diffstat (limited to 'config/arch/alpha')
-rw-r--r-- | config/arch/alpha/config.in | 62 | ||||
-rw-r--r-- | config/arch/alpha/functions | 9 |
2 files changed, 71 insertions, 0 deletions
diff --git a/config/arch/alpha/config.in b/config/arch/alpha/config.in new file mode 100644 index 0000000..cf8157a --- /dev/null +++ b/config/arch/alpha/config.in @@ -0,0 +1,62 @@ +# Alpha specific configuration file + +config ARCH_alpha + select ARCH_SUPPORT_CPU + select ARCH_SUPPORT_TUNE + help + The Alpha architecture. + +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/config/arch/alpha/functions b/config/arch/alpha/functions new file mode 100644 index 0000000..ea8ef53 --- /dev/null +++ b/config/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} +} |