summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-01-16 09:43:09 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-01-16 09:43:09 -0600
commit623428fbcb4d5ab9d3fb347c88b8c1aa30df4077 (patch)
tree6dbee70c0fbc72b137cb21a4fb41908fa61477c6
parenta4f48255338fcb32b1c27ca7d1052f48f5344914 (diff)
downloadnuttx-623428fbcb4d5ab9d3fb347c88b8c1aa30df4077.tar.gz
nuttx-623428fbcb4d5ab9d3fb347c88b8c1aa30df4077.tar.bz2
nuttx-623428fbcb4d5ab9d3fb347c88b8c1aa30df4077.zip
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
-rw-r--r--nuttx/ChangeLog5
-rw-r--r--nuttx/configs/Kconfig8
2 files changed, 12 insertions, 1 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index 75fb5fee6..cd27bb9af 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -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).
+
diff --git a/nuttx/configs/Kconfig b/nuttx/configs/Kconfig
index 17e9fdbd3..7751b1fbb 100644
--- a/nuttx/configs/Kconfig
+++ b/nuttx/configs/Kconfig
@@ -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"