On 06/06/2017 20:22, Andrew Jones wrote: > x86/run will need to start looking at config vars with > the next patch. > > Signed-off-by: Andrew Jones <drjones@xxxxxxxxxx> Reviewed-by: Laurent Vivier <lvivier@xxxxxxxxxx> > --- > x86/run | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/x86/run b/x86/run > index 5b402a680cc7..88f5ff771140 100755 > --- a/x86/run > +++ b/x86/run > @@ -1,6 +1,13 @@ > #!/usr/bin/env bash > > -[ -z "$STANDALONE" ] && source scripts/arch-run.bash > +if [ -z "$STANDALONE" ]; then > + if [ ! -f config.mak ]; then > + echo "run ./configure && make first. See ./configure -h" > + exit 2 > + fi > + source config.mak > + source scripts/arch-run.bash > +fi > > qemu=$(search_qemu_binary) > >