[U-Boot] [PATCH RFC] Makefile: Extend PYTHONPATH rather than overriding it

Simon Glass sjg at chromium.org
Fri Nov 10 05:16:26 UTC 2017


On 7 November 2017 at 09:18, Tuomas Tynkkynen <tuomas.tynkkynen at iki.fi> wrote:
> Currently, if the user has compiled the libfdt Python module from dtc
> upstream to a non-default location, it cannot be used because the
> 'PYTHONPATH=tools' assignment wipes out the user's PYTHONPATH.
> Instead, extend PYTHONPATH in the main Makefile instead of overriding it.
>
> Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen at iki.fi>
> ---
>  Makefile             | 10 ++++++++--
>  scripts/Makefile.spl |  6 ++----
>  2 files changed, 10 insertions(+), 6 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list