|
|
|
@ -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" \ |
|
|
|
|