4 if [ "${CMD_ARCHOVERRIDE}" != '' ]
6 ARCH=${CMD_ARCHOVERRIDE}
8 if [ "${ARCH_OVERRIDE}" != '' ]
26 if [ "${CMD_UTILS_ARCH}" != '' ]
28 UTILS_ARCH=${CMD_UTILS_ARCH}
30 if [ "${UTILS_ARCH}" != '' ]
32 UTILS_ARCH=${UTILS_ARCH}
36 # sparc64 klibc is b0rked, so we force to 32
37 if [ "${ARCH}" = 'sparc64' ]
42 ARCH_CONFIG="${GK_SHARE}/${ARCH}/config.sh"
43 [ -f "${ARCH_CONFIG}" ] || gen_die "${ARCH} not yet supported by genkernel. Please add the arch-specific config file, ${ARCH_CONFIG}"
49 # XXX: This doesn't seem to actually be necessary, as it still works just fine without it
51 # if [ "${VER}" -eq "2" -a "${PAT}" -ge "6" ]
53 # if [ "${PAT}" -eq "6" -a "${SUB}" -ge "17" ] || [ "${PAT}" -gt "6" ]
60 if [ "${VER}" -eq "2" -a "${PAT}" -ge "6" ] || [ "${VER}" -gt "2" ]
62 if [ "${PAT}" -eq "6" -a "${SUB}" -ge "24" ] || [ "${PAT}" -gt "6" ]
71 if [ "${VER}" -eq "2" -a "${PAT}" -ge "6" ] || [ "${VER}" -gt "2" ]
73 if [ "${PAT}" -eq "6" -a "${SUB}" -ge "24" ] || [ "${PAT}" -gt "6" ]