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

Tuomas Tynkkynen tuomas.tynkkynen at iki.fi
Wed Nov 15 08:03:41 UTC 2017


Hi Simon,

On 11/10/2017 07:16 AM, Simon Glass wrote:
> 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.
>>
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 

Thank you.

I forgot to mention that actually using an external libfdt Python module
pretty much depends on this dtc patch I sent (you should have been in CC):

"pylibfdt: Fix install location of libfdt.py"

Otherwise it's installed in the wrong location.


More information about the U-Boot mailing list