|
From: Heiko Z. <smi...@us...> - 2007-12-23 00:10:17
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv9265/scripts Modified Files: prepare settings Log Message: kernelrelease is not available early in the compile Index: prepare =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/prepare,v retrieving revision 1.70 retrieving revision 1.71 diff -u -d -r1.70 -r1.71 --- prepare 18 Dec 2007 07:05:55 -0000 1.70 +++ prepare 23 Dec 2007 00:10:11 -0000 1.71 @@ -58,10 +58,8 @@ ln -sf $KERNELDIR /usr/src/linux || exit 1 - #make -C $KERNELDIR mrproper || exit 1 make -C $KERNELDIR headers_check || exit 1 - #make -C $KERNELDIR INSTALL_HDR_PATH=/usr headers_install || exit 1 - + ;; build ) Index: settings =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/settings,v retrieving revision 1.55 retrieving revision 1.56 diff -u -d -r1.55 -r1.56 --- settings 19 Dec 2007 16:41:55 -0000 1.55 +++ settings 23 Dec 2007 00:10:11 -0000 1.56 @@ -50,6 +50,9 @@ KERNELDIR=$(find_src_dir linux-$CONFIG_LINUX_VERSION) KERNELVERSION=$(make -s -C $KERNELDIR kernelrelease 2> /dev/null | grep -vi "directory") +if [ -z "$KERNELVERSION" ]; then + KERNELVERSION=$(make -s -C $KERNELDIR kernelversion 2> /dev/null | grep -vi "directory") +fi SRCDIR=$DL_DIR/src SRCEXTRADIR=$DL_DIR/src-extra |