deptest: Check for .config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23810 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
01a4d924f0
commit
9e13ee5627
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue