[Buildroot] Where does 'BOARD_NAME' Makefile.in variable come from?

Andrew Porritt aporritt at gogo-robot.com
Fri Apr 16 16:29:56 UTC 2010


I think you pass it in on the command line. E.g.:

make BOARD_NAME=at91sam9261ek

On 16/04/2010 17:18, Grant Edwards wrote:
> I'm looking at the default config files and Makefile.in files for the
> Atmel boards, and they all reference a variable named "BOARD_NAME".
> For example from target/device/Atmel/at91sam9261ek/Makefile.in:
>
> ifeq ($(strip $(BOARD_NAME)),at91sam9261ek)
> LINUX_BOARD_NAME:=at91sam9261ek
> ...
>
> And from at91sam9263ek_defconfig
>
> BR2_TARGET_AT91BOOTSTRAP_BOARD="$(BOARD_NAME)"
>
> But, I can't figure out where BOARD_NAME comes from or how it differs
> from BR2_BOARD_NAME.  Can somebody point me towards a clue?
>
>    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20100416/bf36865f/attachment-0001.html>


More information about the buildroot mailing list