diff options
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/toaster | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index ff3123cd4a..bfedfd3ea3 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster | |||
@@ -174,7 +174,11 @@ fi | |||
174 | # toasterconf.json | 174 | # toasterconf.json |
175 | if [ "$TOASTER_CONF" == "" ]; then | 175 | if [ "$TOASTER_CONF" == "" ]; then |
176 | BIN_DIR=$(dirname "${BASH_SOURCE[0]}") | 176 | BIN_DIR=$(dirname "${BASH_SOURCE[0]}") |
177 | export TOASTER_CONF="$BIN_DIR/../../meta-yocto/conf/toasterconf.json" | 177 | export TOASTER_CONF="$BIN_DIR/../../meta-yocto/conf/toasterconf.json" |
178 | fi | ||
179 | if [ ! -f $TOASTER_CONF ]; then | ||
180 | echo "$TOASTER_CONF configuration file not found, exiting..." | ||
181 | exit -1 | ||
178 | fi | 182 | fi |
179 | # this defines the dir toaster will use for | 183 | # this defines the dir toaster will use for |
180 | # 1) clones of layers (in _toaster_clones ) | 184 | # 1) clones of layers (in _toaster_clones ) |