[nano][kernel] correct nano Kconfig dependency
This commit is contained in:
parent
c87872c9c7
commit
6cd24d437c
|
@ -33,6 +33,7 @@ source "$RTT_DIR/components/fal/Kconfig"
|
||||||
source "$RTT_DIR/components/drivers/Kconfig"
|
source "$RTT_DIR/components/drivers/Kconfig"
|
||||||
source "$RTT_DIR/components/libc/Kconfig"
|
source "$RTT_DIR/components/libc/Kconfig"
|
||||||
source "$RTT_DIR/components/net/Kconfig"
|
source "$RTT_DIR/components/net/Kconfig"
|
||||||
|
source "$RTT_DIR/components/mprotect/Kconfig"
|
||||||
source "$RTT_DIR/components/utilities/Kconfig"
|
source "$RTT_DIR/components/utilities/Kconfig"
|
||||||
source "$RTT_DIR/components/vbus/Kconfig"
|
source "$RTT_DIR/components/vbus/Kconfig"
|
||||||
endif
|
endif
|
||||||
|
@ -40,6 +41,5 @@ endif
|
||||||
if RT_USING_SMART
|
if RT_USING_SMART
|
||||||
source "$RTT_DIR/components/lwp/Kconfig"
|
source "$RTT_DIR/components/lwp/Kconfig"
|
||||||
source "$RTT_DIR/components/mm/Kconfig"
|
source "$RTT_DIR/components/mm/Kconfig"
|
||||||
source "$RTT_DIR/components/mprotect/Kconfig"
|
|
||||||
endif
|
endif
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
@ -400,10 +400,12 @@ endmenu
|
||||||
|
|
||||||
config RT_USING_DEVICE
|
config RT_USING_DEVICE
|
||||||
bool "Using device object"
|
bool "Using device object"
|
||||||
|
depends on !RT_USING_NANO
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config RT_USING_DEVICE_OPS
|
config RT_USING_DEVICE_OPS
|
||||||
bool "Using ops for each device object"
|
bool "Using ops for each device object"
|
||||||
|
depends on RT_USING_DEVICE
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config RT_USING_INTERRUPT_INFO
|
config RT_USING_INTERRUPT_INFO
|
||||||
|
@ -423,6 +425,7 @@ if RT_USING_CONSOLE
|
||||||
|
|
||||||
config RT_CONSOLE_DEVICE_NAME
|
config RT_CONSOLE_DEVICE_NAME
|
||||||
string "the device name for console"
|
string "the device name for console"
|
||||||
|
depends on RT_USING_DEVICE
|
||||||
default "uart"
|
default "uart"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue