[Buildroot] [PATCH] BR2_EXTERNAL: check it is a valid BR2_EXTERNAL dir before using it

Yann E. MORIN yann.morin.1998 at free.fr
Wed Jan 22 18:55:57 UTC 2014


Jérémy, All,

On 2014-01-22 10:00 +0100, Jeremy Rosen spake thusly:
> ok, I tried your patch and I have a couple of problems
[--SNIP--]
> rosen at pcrosen:~/tmp/buildroot$ LANG=C make O=.. BR2_EXTERNAL=.. raspberrypi_defconfig
> Makefile:126: *** BR2_EXTERNAL='..' does not exist, relatively to /home/rosen/tmp/buildroot.  Stop.

OK, that one's fixed.

> Which is a confusing error message, the problem is that I don't have
> a Config.in and external.mk file  in tmp /(which are mandatory in
> BR2_EXTERNAL though that's not stated in the doc afaics)

Ah, right. They do be mandatory. I'll update the doc accordingly, so it
is explicit one has to provide both in an br2-external tree.

Thanks for the review and testing! :-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list