Add a name string for custom boards. Used onlyby uname()

This commit is contained in:
Gregory Nutt
2015-07-05 06:44:06 -06:00
parent f7ba1b1eeb
commit 04b73b58a8
+7 -1
View File
@@ -1114,9 +1114,15 @@ endchoice
if ARCH_BOARD_CUSTOM if ARCH_BOARD_CUSTOM
menu "Custom Board Configuration" menu "Custom Board Configuration"
config ARCH_BOARD_CUSTOM_NAME
string "Custom board name"
default ""
---help---
This is a name for the board. It is not used except to return the
information via the NSH uname command.
config ARCH_BOARD_CUSTOM_DIR config ARCH_BOARD_CUSTOM_DIR
string "Custom board directory" string "Custom board directory"
depends on ARCH_BOARD_CUSTOM
---help--- ---help---
If the custom board configuration is selected, then it is necessary If the custom board configuration is selected, then it is necessary
to also tell the build system where it can find the board directory to also tell the build system where it can find the board directory