mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Backout most of changes from 4d331ec09b2fc72636f86be628ea2f69381 and 8afe721612. Does not work as expected.
This commit is contained in:
+8
-23
@@ -1265,25 +1265,19 @@ config ARCH_BOARD_CUSTOM
|
||||
|
||||
endchoice
|
||||
|
||||
if !ARCH_BOARD_CUSTOM
|
||||
|
||||
config ARCH_BOARD_CUSTOM_DIR
|
||||
string
|
||||
default "configs/dummy"
|
||||
|
||||
config ARCH_BOARD_CUSTOM_DIR_RELPATH
|
||||
bool
|
||||
default y
|
||||
|
||||
endif # !ARCH_BOARD_CUSTOM
|
||||
|
||||
if ARCH_BOARD_CUSTOM
|
||||
|
||||
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
|
||||
string "Custom board directory"
|
||||
default "configs/dummy"
|
||||
default ""
|
||||
---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
|
||||
@@ -1300,12 +1294,6 @@ config ARCH_BOARD_CUSTOM_DIR_RELPATH
|
||||
---help---
|
||||
Specifies that the board directory is relative to the NuttX directory.
|
||||
|
||||
config ARCH_BOARD_CUSTOM_NAME
|
||||
string "Custom board name"
|
||||
---help---
|
||||
This is a name for the board. It is not used except to return the
|
||||
information via the NSH uname command.
|
||||
|
||||
config BOARD_CUSTOM_LEDS
|
||||
bool "Custom board LEDs"
|
||||
default n
|
||||
@@ -1858,9 +1846,6 @@ endif
|
||||
if ARCH_BOARD_SIM
|
||||
source "configs/sim/Kconfig"
|
||||
endif
|
||||
if ARCH_BOARD_CUSTOM
|
||||
source "$ARCH_BOARD_CUSTOM_DIR/Kconfig"
|
||||
endif
|
||||
|
||||
config BOARD_CRASHDUMP
|
||||
bool "Enable Board level logging of crash dumps"
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||
#
|
||||
Reference in New Issue
Block a user