X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=scripts%2Fdeptest.sh;h=3a81659f7b988362196702bece26f78105e50522;hp=ad378bafcd976eccc4c66742ed06141cc3ac755d;hb=ba91f56bf41b2623622e026dc54babd002cb5ac8;hpb=87fe1d36d3e9eca0ac095935266b4ce65d152caa diff --git a/scripts/deptest.sh b/scripts/deptest.sh index ad378bafcd..3a81659f7b 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"