|
|
@ -4,6 +4,10 @@ get_official_arch() {
|
|
|
|
if [ "${CMD_ARCHOVERRIDE}" != '' ]
|
|
|
|
if [ "${CMD_ARCHOVERRIDE}" != '' ]
|
|
|
|
then
|
|
|
|
then
|
|
|
|
ARCH=${CMD_ARCHOVERRIDE}
|
|
|
|
ARCH=${CMD_ARCHOVERRIDE}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
if [ "${ARCH_OVERRIDE}" != '' ]
|
|
|
|
|
|
|
|
then
|
|
|
|
|
|
|
|
ARCH=${ARCH_OVERRIDE}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
ARCH=`uname -m`
|
|
|
|
ARCH=`uname -m`
|
|
|
|
case "${ARCH}" in
|
|
|
|
case "${ARCH}" in
|
|
|
@ -14,6 +18,7 @@ get_official_arch() {
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
ARCH_CONFIG="${GK_SHARE}/${ARCH}/config.sh"
|
|
|
|
ARCH_CONFIG="${GK_SHARE}/${ARCH}/config.sh"
|
|
|
|
[ -f "${ARCH_CONFIG}" ] || gen_die "${ARCH} not yet supported by genkernel. Please add the arch-specific config file, ${ARCH_CONFIG}"
|
|
|
|
[ -f "${ARCH_CONFIG}" ] || gen_die "${ARCH} not yet supported by genkernel. Please add the arch-specific config file, ${ARCH_CONFIG}"
|
|
|
|