|
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
|
|
#
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
# Please add additional copyright information _after_ the line containing
|
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
|
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
|
|
#
|
|
# ROCK Linux: rock-src/architecture/x86/config.in
|
|
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version. A copy of the GNU General Public
|
|
# License can be found at Documentation/COPYING.
|
|
#
|
|
# Many people helped and are helping developing ROCK Linux. Please
|
|
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
|
|
# file for details.
|
|
#
|
|
# --- ROCK-COPYRIGHT-NOTE-END ---
|
|
|
|
# General architecture switch
|
|
choice ROCKCFG_X86_BITS 32 \
|
|
32 "Build 32 bit (normal x86)" \
|
|
64 "Build 64 bit (AMD 64 - Opteron)"
|
|
|
|
|
|
if [ "$ROCKCFG_X86_BITS" = 32 ] ; then
|
|
choice ROCKCFG_X86_OPT generic \
|
|
generic "No special optimisation" \
|
|
i386 "Optimised for Intel 386" \
|
|
i486 "Optimised for Intel 486" \
|
|
via-c3 "Optimised for VIA CyrixIII/VIA-C3" \
|
|
via-c3-2 "Optimised for VIA-C3-2 Nemiah" \
|
|
pentium "Optimised for Intel Pentium" \
|
|
pentium-mmx "Optimised for Intel Pentium with MMX" \
|
|
pentiumpro "Optimised for Intel Pentium-Pro" \
|
|
pentium2 "Optimised for Intel Pentium 2" \
|
|
pentium3 "Optimised for Intel Pentium 3" \
|
|
pentium4 "Optimised for Intel Pentium 4" \
|
|
k6 "Optimised for AMD K6" \
|
|
k6-2 "Optimised for AMD K6-2" \
|
|
k6-3 "Optimised for AMD K6-3" \
|
|
athlon "Optimised for AMD Athlon" \
|
|
athlon-tbird "Optimised for AMD Athlon Thunderbird" \
|
|
athlon4 "Optimised for AMD Athlon 4" \
|
|
athlon-xp "Optimised for AMD Athlon XP" \
|
|
athlon-mp "Optimised for AMD Athlon MP"
|
|
else
|
|
choice ROCKCFG_X86_OPT generic \
|
|
generic "No special optimisation" \
|
|
athlon "Optimised for AMD Athlon"
|
|
fi
|
|
|
|
if [ $ROCKCFG_X86_OPT != generic ] ; then
|
|
ROCKCFG_ID="$ROCKCFG_ID-$ROCKCFG_X86_OPT-$ROCKCFG_X86_BITS"
|
|
fi
|
|
|