CURRENT_KV=$(uname -r) unset ARCH if [[ -f "${EROOT:-/}usr/src/linux-${CURRENT_KV}/.config" ]] ; then cp -n "${EROOT:-/}usr/src/linux-${CURRENT_KV}/.config" "${EROOT:-/}usr/src/linux/.config" cd "${EROOT:-/}usr/src/linux/" make olddefconfig || die make ${MAKEOPTS} || die make modules_install || die make install || die grub-mkconfig -o /boot/grub/grub.cfg || die fi