Remove some cases in Kconfig files of 'comment' with 'depends on'. That is probably a good practice. I removed these because (1) is not done elsewhere so it is just an inconsistency, and (2) the HTML generation tool at nuttx/tools/kconfig2html.c would need to be extended to parse that case. I don't have time to do that now.
This commit is contained in:
parent
ce071a49d1
commit
73ab5e2750
@ -3,9 +3,6 @@
|
|||||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||||
#
|
#
|
||||||
|
|
||||||
comment "embedlog example needs SYSTEM_EMBEDLOG"
|
|
||||||
depends on !SYSTEM_EMBEDLOG
|
|
||||||
|
|
||||||
if SYSTEM_EMBEDLOG
|
if SYSTEM_EMBEDLOG
|
||||||
|
|
||||||
config EXAMPLES_EMBEDLOG
|
config EXAMPLES_EMBEDLOG
|
||||||
@ -44,3 +41,4 @@ config EXAMPLES_EMBEDLOG_STACKSIZE
|
|||||||
|
|
||||||
endif #EXAMPLES_EMBEDLOG
|
endif #EXAMPLES_EMBEDLOG
|
||||||
endif #SYSTEM_EMBEDLOG
|
endif #SYSTEM_EMBEDLOG
|
||||||
|
|
||||||
|
@ -3,9 +3,6 @@
|
|||||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||||
#
|
#
|
||||||
|
|
||||||
comment "ini dumper example needs FSUTILS_INIH"
|
|
||||||
depends on !FSUTILS_INIH
|
|
||||||
|
|
||||||
if FSUTILS_INIH
|
if FSUTILS_INIH
|
||||||
|
|
||||||
config EXAMPLES_INI_DUMPER
|
config EXAMPLES_INI_DUMPER
|
||||||
@ -34,3 +31,4 @@ config EXAMPLES_INI_DUMPER_STACKSIZE
|
|||||||
|
|
||||||
endif #EXAMPLES_INI_DUMPER
|
endif #EXAMPLES_INI_DUMPER
|
||||||
endif #SYSTEM_INI_DUMPER
|
endif #SYSTEM_INI_DUMPER
|
||||||
|
|
||||||
|
@ -3,9 +3,6 @@
|
|||||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||||
#
|
#
|
||||||
|
|
||||||
comment "psmq requires posix mqueue and SYSTEM_EMBEDLOG"
|
|
||||||
depends on DISABLE_MQUEUE || !SYSTEM_EMBEDLOG
|
|
||||||
|
|
||||||
menuconfig SYSTEM_PSMQ
|
menuconfig SYSTEM_PSMQ
|
||||||
bool "psmq"
|
bool "psmq"
|
||||||
default n
|
default n
|
||||||
@ -108,3 +105,4 @@ config PSMQ_SUB_STACKSIZE
|
|||||||
|
|
||||||
endif # PSMQ_TOOLS_SUB
|
endif # PSMQ_TOOLS_SUB
|
||||||
endif # SYSTEM_PSMQ
|
endif # SYSTEM_PSMQ
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user