From: Ting Liu <[email protected]> there will be no conf/local.conf generated if python version check in poky/scripts/oe-buildenv-internal failed. In this case, no need to go further.
Signed-off-by: Ting Liu <[email protected]> --- setup-environment | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup-environment b/setup-environment index 5931e2b..a19aa13 100755 --- a/setup-environment +++ b/setup-environment @@ -132,6 +132,11 @@ cd $OEROOT . ./oe-init-build-env $CWD/$1 > /dev/null +# if conf/local.conf not generated, no need to go further +if [ ! -e conf/local.conf ]; then + clean_up && return 1 +fi + # Clean up PATH, because if it includes tokens to current directories somehow, # wrong binaries can be used instead of the expected ones during task execution export PATH="`echo $PATH | sed 's/\(:.\|:\)*:/:/g;s/^.\?://;s/:.\?$//'`" -- 1.8.3.2 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
