On Wed, Jul 9, 2014 at 12:38 AM,  <[email protected]> wrote:
> 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.

This patch is OK to me. I don“t see any problem.

ACK

Daiane
>
> 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
-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to