deptest: Check for .config

SVN-Revision: 23810
This commit is contained in:
Michael Büsch 2010-11-03 00:27:50 +00:00
parent 87fe1d36d3
commit ba91f56bf4

View File

@ -22,6 +22,8 @@ die()
[ -f "$BASEDIR/include/toplevel.mk" ] || \ [ -f "$BASEDIR/include/toplevel.mk" ] || \
die "Error: Could not find buildsystem base directory" 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" cd "$BASEDIR" || die "Failed to enter base directory"
mkdir -p "$STAMP_DIR_SUCCESS" "$STAMP_DIR_FAILED" "$BUILD_DIR" "$BUILD_DIR_HOST" "$LOG_DIR" mkdir -p "$STAMP_DIR_SUCCESS" "$STAMP_DIR_FAILED" "$BUILD_DIR" "$BUILD_DIR_HOST" "$LOG_DIR"