[Buildroot] [PATCH 1/3] Makefile: use absolute paths to BR2_EXTERNAL

Samuel Martin s.martin49 at gmail.com
Wed Jan 22 21:22:53 UTC 2014


2014/1/22 Yann E. MORIN <yann.morin.1998 at free.fr>

> From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
>
> Using a relative path for BR2_EXTERNAL, and using an external defconfig,
> such as in (from a Buildroot top-dir):
>     make O=.. BR2_EXTERNAL=.. foo_defconfig
>
> is broken. It is unclear why the %_defconfig rule recurses in that case,
> but using relative paths is inherently broken.
>
> This patch makes BR2_EXTERNAL canonical (ie. makes it an absolute path),
> and checks the directory exists.
>
> The manual is updated to discourage using relative paths.
>
> Reported-by: Jérémy Rosen <jeremy.rosen at openwide.fr>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Peter Korsgaard <jacmet at uclibc.org>
> Cc: Romain Naour <romain.naour at openwide.fr>
>
Acked-by: Samuel Martin <s.martin49 at gmail.com>

Regards,


-- 
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140122/f8b99ae8/attachment-0002.html>


More information about the buildroot mailing list