Skip to contentSkip to conversation

Where does 'BOARD_NAME' Makefile.in variable come from?

Buildroot Grant Edwards 2 participants 3 messages Apr 16, 2010

lore
Share & tools
lore
#0 lore raw

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?

Signature · 3 lines
Grant Edwards               grant.b.edwards        Yow! My LESLIE GORE record
                                  at               is BROKEN ...
                              gmail.com            
#1 lore raw

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

make BOARD_NAME=at91sam9261ek

Quoted 8 lines · Grant Edwards

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
...

Quoted 8 lines

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.busybox.net/pipermail/buildroot/attachments/20100416/bf36865f/attachment.htm>

#2 lore raw
Quoted 3 lines · Andrew Porritt

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

make BOARD_NAME=at91sam9261ek

I've never done that, and I can't find it mentioned in any of the docs (either from buildroot or from Atmel).

I think it might be something Atmel-specific...

Signature · 3 lines
Grant Edwards               grant.b.edwards        Yow! Did I say I was
                                  at               a sardine?  Or a bus???
                              gmail.com