Add support for Solaris 2.6 on sun4m builds
It is an excellent platform for catching bugs: big-endian, slow enough that a context switch in the middle of an operation becomes a regular occurrence, and all that on a SMP box. Or: I just wanted to see if it would work. Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
47920df65c
commit
fda285e2f5
52 changed files with 1266 additions and 4197 deletions
52
ports/solaris2.6/guess-config
Executable file
52
ports/solaris2.6/guess-config
Executable file
|
@ -0,0 +1,52 @@
|
|||
#!/bin/sh
|
||||
|
||||
s=`uname -s`
|
||||
case "$s" in
|
||||
[Dd]arwin)
|
||||
# default to G4 for now
|
||||
m=`uname -m`
|
||||
case "$m" in
|
||||
x86_64)
|
||||
cfg="x86_64.darwin"
|
||||
;;
|
||||
*)
|
||||
echo "guess-config: darwin: didn't recognize machine type $m - please fix" 2>&1
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
[Ll]inux)
|
||||
m=`uname -m`
|
||||
case "$m" in
|
||||
arm*)
|
||||
cfg=arm.linux.6
|
||||
;;
|
||||
x86_64)
|
||||
cfg=x86_64.linux.6
|
||||
;;
|
||||
*)
|
||||
cfg=x86.linux.6
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
[Ss]un[Oo][Ss]|[Ss]olaris)
|
||||
m=`uname -m`:`uname -r`
|
||||
#should check OS rev
|
||||
case "$m" in
|
||||
sun4m:5.6)
|
||||
cfg="sparc.solaris2.6"
|
||||
;;
|
||||
sun4u:*)
|
||||
cfg="sparcv9.solaris"
|
||||
;;
|
||||
*)
|
||||
cfg="x86_64.solaris"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
echo "guess-config: didn't recognize system type $s - please fix" 2>&1
|
||||
;;
|
||||
esac
|
||||
|
||||
[ -z "$cfg" ] && cfg="asjemenou"
|
||||
echo $cfg
|
Loading…
Add table
Add a link
Reference in a new issue