[Buildroot] [PATCH v4 7/7] Makefile: export PATH
Samuel Martin
s.martin49 at gmail.com
Tue Feb 18 15:55:38 UTC 2014
Arnout, Thomas,
On Tue, Feb 18, 2014 at 4:37 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Dear Arnout Vandecappelle,
>
> On Tue, 18 Feb 2014 07:32:48 +0100, Arnout Vandecappelle wrote:
>> On 16/02/14 14:58, Samuel Martin wrote:
>> > This can be useful for:
>> > - package using custom build system that are not aware that the host
>> > tree is in $(O)/host/;
>> > - post-{build,image} scripts, in case some host-tools were specifically
>> > built to be used by these scripts.
>>
>> This makes all the previous patches redundant, since the PATH=...
>> invocations should be removed instead of renamed.
>
> Agreed. Samuel, you should make a choice:
>
> * Either you use BR_PATH, and we continue to pass PATH=$(BR_PATH)
> whenever the PATH is needed.
>
> * Or you simply directly export PATH with the right value, and remove
> all occurrences where we manually pass PATH=<something>.
Ok.
It was not clear whether the export would be accepted...
So I followed the secure way, thinking that the PATH usage could be
cleaned up later ;-)
Anyway, now it's my call. :)
Thanks for clarification.
Regards,
--
Samuel
More information about the buildroot
mailing list