Browse Source

sparc forces the use of the cross toolchain if 64bit kernel and 32bit

userspace is selected ...


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@991 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 23 years ago
parent
commit
a75f379f0d
2 changed files with 8 additions and 6 deletions
  1. +1
    -4
      architecture/sparc/config.hlp
  2. +7
    -2
      architecture/sparc/config.in

+ 1
- 4
architecture/sparc/config.hlp

@ -26,10 +26,7 @@ ROCKCFG_SPARC_BITS
with the glibc - and is so _not_ recommended!)
ROCKCFG_SPARC_64BIT_KERNEL
This options controls whether to buildt a 64-Bit kernel.
ROCKCFG_MULTILIB
Enable installing several versions of the same library.
This options controls whether to build a 64-Bit kernel.
ROCKCFG_SPARC_OPT
Please select the CPU you want to optimise for.

+ 7
- 2
architecture/sparc/config.in

@ -25,7 +25,7 @@
# General architecture switch
choice ROCKCFG_SPARC_BITS 32 \
32 "build 32 bit user-space SPARC (v7 and above)" \
64 "build 64 bit user-space SPARC (v9 - Ultra SPARC)"
64 "build 64 bit user-space SPARC (v9 - Ultra SPARC) (EXPERIMENTAL)"
# Some architecture special switches
if [ "$ROCKCFG_SPARC_BITS" = 32 ] ; then
@ -33,8 +33,13 @@ if [ "$ROCKCFG_SPARC_BITS" = 32 ] ; then
# later set multilib here
fi
# Now the optimisations that result from the options above
# Enable cross compiler if a 64bit kernel is requested
if [ "$ROCKCFG_SPARC_64BIT_KERNEL" = 1 ] ; then
ROCKCFGSET_PKG_CROSSCC=1
ROCKCFGSET_PKG_CROSSCC_ARCH_TARGET="sparc64-unknown-linux-gnu"
fi
# Now the optimisations that result from the options above
if [ "$ROCKCFG_SPARC_BITS" = 64 -o "$ROCKCFG_SPARC_64BIT_KERNEL" = 1 ] ; then
choice ROCKCFG_SPARC_OPT generic \
generic "No special optimisation" \

Loading…
Cancel
Save