52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
sysname="FreeBSD"
sysrelease="$(echo "${KC_CROSSCOMPILE_HOST_OS}" | sed 's@^.*-freebsd@@;s@$@.0-RELEASE@')"
;;
*-aix[0-9].*)
sysname="AIX"
sysrelease="$(echo "${KC_CROSSCOMPILE_HOST_OS}" | sed 's@.*-aix\([0-9]\..*\)@\1@')"
;;
esac
# Determine machine information
case "${KC_CROSSCOMPILE_HOST_OS}" in
hppa64-*-hpux*)
sysmachine="9000/859"
;;
i386-*-solaris*)
sysmachine="i86pc"
;;
sparc-*-solaris*)
|
>
>
>
>
>
>
>
>
>
>
>
>
|
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
sysname="FreeBSD"
sysrelease="$(echo "${KC_CROSSCOMPILE_HOST_OS}" | sed 's@^.*-freebsd@@;s@$@.0-RELEASE@')"
;;
*-aix[0-9].*)
sysname="AIX"
sysrelease="$(echo "${KC_CROSSCOMPILE_HOST_OS}" | sed 's@.*-aix\([0-9]\..*\)@\1@')"
;;
*-*-darwin*)
sysname="Darwin"
sysrelease="$(echo "${KC_CROSSCOMPILE_HOST_OS}" | sed 's@.*-darwin\([0-9]*\)@\1@')"
;;
esac
# Determine machine information
case "${KC_CROSSCOMPILE_HOST_OS}" in
x86_64-*-darwin*)
sysmachine="Intel"
syscpu="x86_64"
;;
powerpc-*-darwin*)
sysmachine="Power Macintosh"
syscpu="powerpc"
;;
hppa64-*-hpux*)
sysmachine="9000/859"
;;
i386-*-solaris*)
sysmachine="i86pc"
;;
sparc-*-solaris*)
|