You can again specify the default board sub-directory when CONFIG_ARCH_BOARD_CUSTOM is used

This commit is contained in:
Gregory Nutt 2014-01-16 10:42:54 -06:00
parent e591ad49e5
commit 6748b03858

View file

@ -858,8 +858,18 @@ config ARCH_BOARD_CUSTOM
endchoice
config ARCH_BOARD_CUSTOM_DIR
string "Custom board directory"
depends on ARCH_BOARD_CUSTOM
---help---
If the custom board configuration is selected, then it is necessary
to also tell the build system where it can find the board directory
for the custom board. This may be either a relative path from the
toplevel NuttX directory (like "configs/myboard") or an absolute path
to some location outside of the NuttX source tree (like
"~/projects/myboard").
config ARCH_BOARD
string
default "amber" if ARCH_BOARD_AMBER
default "arduino-due" if ARCH_BOARD_ARDUINO_DUE
default "avr32dev1" if ARCH_BOARD_AVR32DEV1
@ -946,7 +956,6 @@ config ARCH_BOARD
default "zp214xpa" if ARCH_BOARD_ZP214XPA
default "zkit-arm-1769" if ARCH_BOARD_ZKITARM
default "sim" if ARCH_BOARD_SIM
default "" if ARCH_BOARD_CUSTOM
comment "Common Board Options"