[OE-core] [PATCH] devshell: start in ${B} not ${S}

Andre McCurdy armccurdy at gmail.com
Tue Mar 10 18:57:35 UTC 2015


On Tue, Mar 10, 2015 at 10:50 AM, Ross Burton <ross.burton at intel.com> wrote:
> When S=B this is a no-op, but when B!=S this means you can run make and so on
> without having to change directory first.

Just my opinion, but I'd vote against this change. Running
"../temp/run.do_compile" works from either directory but editing
sources and running "quilt refresh" etc only works from ${S}.

>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>  meta/classes/devshell.bbclass |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/devshell.bbclass b/meta/classes/devshell.bbclass
> index 41164a3..051ab72 100644
> --- a/meta/classes/devshell.bbclass
> +++ b/meta/classes/devshell.bbclass
> @@ -17,7 +17,7 @@ python do_devshell () {
>
>  addtask devshell after do_patch
>
> -do_devshell[dirs] = "${S}"
> +do_devshell[dirs] = "${B}"
>  do_devshell[nostamp] = "1"
>
>  # devshell and fakeroot/pseudo need careful handling since only the final
> --
> 1.7.10.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list