git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@213
67a159dc-881f-0410-a524-
ba9dfbe2cb84
PAT=`grep ^PATCHLEVEL\ \= ${KERNEL_DIR}/Makefile | awk '{ print $3 };'`
SUB=`grep ^SUBLEVEL\ \= ${KERNEL_DIR}/Makefile | awk '{ print $3 };'`
EXV=`grep ^EXTRAVERSION\ \= ${KERNEL_DIR}/Makefile | sed -e "s/EXTRAVERSION =//" -e "s/ //g"`
- if [ "${PAT}" -gt '4' ]
+ if [ "${PAT}" -gt '4' -a -e ${KERNEL_DIR}/.config ]
then
cd ${KERNEL_DIR}
compile_generic prepare kernel > /dev/null 2>&1