Explorar o código

deptest: Check for .config

SVN-Revision: 23810
Michael Büsch %!s(int64=15) %!d(string=hai) anos
pai
achega
ba91f56bf4
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      scripts/deptest.sh

+ 2 - 0
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"