소스 검색

[msh] add dependency of RT_USING_CONSOLE

Meco Man 1 년 전
부모
커밋
c06a31c7d3
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      components/Kconfig

+ 2 - 0
components/Kconfig

@@ -25,7 +25,9 @@ config RT_USING_LEGACY
     bool "Support legacy version for compatibility"
     default n
 
+if RT_USING_CONSOLE
 source "$RTT_DIR/components/finsh/Kconfig"
+endif
 
 if !RT_USING_NANO
 source "$RTT_DIR/components/dfs/Kconfig"