From 95e42b99a52ead09a9e17d50b1ef94d4b808a2cc Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sat, 15 Dec 2001 16:39:26 +0000 Subject: [PATCH] Check for the case where 'make dep' was not run. --- scripts/dep.linux | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.26.2