On Thu, Oct 8, 2015 at 6:16 AM, Robert Yang <liezhi.y...@windriver.com>
wrote:

>  oe_runconf () {
> -       cfgscript="${S}/configure"
> +       # Use relative path for S to avoid buildpaths in files
> +       relative_s=`python -c "import os; print os.path.relpath('${S}',
> '.')"`
> +       cfgscript="$relative_s/configure"
>

Why not just use inline python here, rather than calling out to an external
python process at task execution time?
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to