[Buildroot] [PATCH 6/6] Makefile: export PATH

Samuel Martin s.martin49 at gmail.com
Thu Jan 2 19:21:22 UTC 2014


Hi all,

2013/11/17 Peter Korsgaard <jacmet at uclibc.org>

> >>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
>
> Hi,
>
>  >> To me, this could make easier writing post-{build,image} scripts.
>
>  > Indeed, it *is* usefull for those scripts.
>
>  > The first thing I do in br.config is to exactly set PATH to include the
>  > host/usr/bin and host/usr/sbin directories in front of the user's PATH.
>
>  > But maybe we should just set PATH at the time we call them?
>
> I *THINK* always adding those host directories to the path would be
> safe, as long as it happens after 'which' calls in the toplevel
> makefile.

This is already the case. :-)


> This would also allow us to get rid of HOST_PATH / TARGET_PATH
> (which are currently not identical, but should be).
>
> But it will need some testing.
>

For what is worth, I use this series on top of master since this first
submission
and I haven't got any problem so far.


>
> --
> Bye, Peter Korsgaard
>

Regards,

-- 
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140102/14f37043/attachment.html>


More information about the buildroot mailing list