From: David Schleef Date: Sat, 15 Dec 2001 16:39:26 +0000 (+0000) Subject: Check for the case where 'make dep' was not run. X-Git-Tag: r0_7_62~39 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=95e42b99a52ead09a9e17d50b1ef94d4b808a2cc;p=comedi.git Check for the case where 'make dep' was not run. --- diff --git a/scripts/dep.linux b/scripts/dep.linux index 2b750645..db6e16d8 100755 --- a/scripts/dep.linux +++ b/scripts/dep.linux @@ -13,8 +13,18 @@ fi : ${LINUXDIR:=$default} if [ ! -f "$LINUXDIR/.config" ];then + echo echo Kernel source tree at $LINUXDIR is not configured echo Fix before continuing + echo + exit 1 +fi + +if [ ! -f "$LINUXDIR/.hdepend" ];then + echo + echo You need to run \'make dep\' on the kernel source before + echo continuing. + echo exit 1 fi