[Buildroot] [PATCH RFC] Makefile: from a defconfig file, point to the corresponding board/ entry

Jérôme Pouiller jezz at sysmic.org
Thu Nov 27 10:26:00 UTC 2014


Hi Yann,

On Thursday 27 November 2014 00:13:55 Yann E. MORIN wrote:
> This is an RFC!
> 
> When configuring Buildroot from a defconfig files, soem users complain
> it is non-obvious that the corresponding board documentattion is to be
> found in the board/ sub-directory.
> 
> So, deduce the board name from the defconfig file, look for a similarly
> named sub-dir of board (first level only), and if such a directory
> exists, print a message stating extra documentation for that board is to
> be found there.

What about introducing a BR2_BOARD_DIR configuration variable? This variable 
would have two functions:
   - May be used to locate other files (configs, overlays, etc...)
   - If defined, a help message is displayed when this defconfig is loaded.


-- 
Jérôme Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr



More information about the buildroot mailing list