|
|
@ -23,6 +23,15 @@ get_KV() {
|
|
|
|
PAT=`grep ^PATCHLEVEL\ \= ${KERNEL_DIR}/Makefile | awk '{ print $3 };'`
|
|
|
|
PAT=`grep ^PATCHLEVEL\ \= ${KERNEL_DIR}/Makefile | awk '{ print $3 };'`
|
|
|
|
SUB=`grep ^SUBLEVEL\ \= ${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" -e 's/\$([a-z]*)//gi'`
|
|
|
|
EXV=`grep ^EXTRAVERSION\ \= ${KERNEL_DIR}/Makefile | sed -e "s/EXTRAVERSION =//" -e "s/ //g" -e 's/\$([a-z]*)//gi'`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ -z "${SUB}" ];
|
|
|
|
|
|
|
|
then
|
|
|
|
|
|
|
|
# Handle O= build directories
|
|
|
|
|
|
|
|
KERNEL_SOURCE_DIR=`grep ^MAKEARGS\ \:\= ${KERNEL_DIR}/Makefile | awk '{ print $4 };'`
|
|
|
|
|
|
|
|
SUB=`grep ^SUBLEVEL\ \= ${KERNEL_SOURCE_DIR}/Makefile | awk '{ print $3 };'`
|
|
|
|
|
|
|
|
EXV=`grep ^EXTRAVERSION\ \= ${KERNEL_SOURCE_DIR}/Makefile | sed -e "s/EXTRAVERSION =//" -e "s/ //g" -e 's/\$([a-z]*)//gi'`
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
cd ${KERNEL_DIR}
|
|
|
|
cd ${KERNEL_DIR}
|
|
|
|
#compile_generic prepare kernel > /dev/null 2>&1
|
|
|
|
#compile_generic prepare kernel > /dev/null 2>&1
|
|
|
|
cd - > /dev/null 2>&1
|
|
|
|
cd - > /dev/null 2>&1
|
|
|
|