From ba91f56bf41b2623622e026dc54babd002cb5ac8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20B=C3=BCsch?= <mb@bu3sch.de>
Date: Wed, 3 Nov 2010 00:27:50 +0000
Subject: [PATCH] deptest: Check for .config

SVN-Revision: 23810
---
 scripts/deptest.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/deptest.sh b/scripts/deptest.sh
index ad378bafcd9..3a81659f7b9 100755
--- a/scripts/deptest.sh
+++ b/scripts/deptest.sh
@@ -22,6 +22,8 @@ die()
 
 [ -f "$BASEDIR/include/toplevel.mk" ] || \
 	die "Error: Could not find buildsystem base directory"
+[ -f "$BASEDIR/.config" ] || \
+	die "The buildsystem is not configured. Please run make menuconfig."
 cd "$BASEDIR" || die "Failed to enter base directory"
 
 mkdir -p "$STAMP_DIR_SUCCESS" "$STAMP_DIR_FAILED" "$BUILD_DIR" "$BUILD_DIR_HOST" "$LOG_DIR"