You can now specify or override the default board sub-directory. This is only useful when CONFIG_ARCH_BOARD_CUSTOM is used and the default board sub-directory is not available

This commit is contained in:
Gregory Nutt 2014-01-16 09:43:09 -06:00
parent 54420e588b
commit 0309c63a23
2 changed files with 12 additions and 1 deletions

View File

@ -6468,3 +6468,8 @@
Manuel Stühn for the tip(2014-1-15).
* libc: Move strtol(), strtoll, strtoul(), strtoull(), and strtod() from
libc/string to libc/stdlib where they belong (2014-1-16).
* configs/Kconfig: Board configuration sub-directory can now be
specified. The default need not be used. This is really only
useful when CONFIG_ARCH_BOARD_CUSTOM is selected and there is no
meaningful default sub-directory (2014-1-16).

View File

@ -859,7 +859,7 @@ config ARCH_BOARD_CUSTOM
endchoice
config ARCH_BOARD
string
string "Board configuration sub-directory"
default "amber" if ARCH_BOARD_AMBER
default "arduino-due" if ARCH_BOARD_ARDUINO_DUE
default "avr32dev1" if ARCH_BOARD_AVR32DEV1
@ -947,6 +947,12 @@ config ARCH_BOARD
default "zkit-arm-1769" if ARCH_BOARD_ZKITARM
default "sim" if ARCH_BOARD_SIM
default "" if ARCH_BOARD_CUSTOM
---help---
Select the board sub-directory name where the board logic resides under
the configs/ directory. Normally, the default is the correct location
and you probably not want to change that. However, if you have selected
ARCH_BOARD_CUSTOM, then you will need to tell the build system when
the board logic resides.
comment "Common Board Options"