deptest: Check for .config
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Nov 2010 00:27:50 +0000 (00:27 +0000)
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Nov 2010 00:27:50 +0000 (00:27 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23810 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/deptest.sh

index ad378ba..3a81659 100755 (executable)
@@ -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"
This page took 0.026683 seconds and 4 git commands to generate.