summaryrefslogtreecommitdiff
path: root/components/KConfig
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-06-06 18:18:44 +0800
committerbernard <[email protected]>2017-06-06 18:18:44 +0800
commitae6ca7bb02c89c755487b6dbd565d3d204c00b1f (patch)
tree352a8404c2b4b321acbba9571c833fcc04c63c9b /components/KConfig
parentc1926d3af73bf05477e669553eb4426696c8b1b4 (diff)
KConfig cleanup.
Diffstat (limited to 'components/KConfig')
-rw-r--r--components/KConfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/components/KConfig b/components/KConfig
index 5747befe3a..0ec586b2be 100644
--- a/components/KConfig
+++ b/components/KConfig
@@ -1,5 +1,17 @@
menu "RT-Thread Components"
+config RT_USING_COMPONENTS_INIT
+ bool "Use components automatically initialization"
+ default y
+
+if RT_USING_COMPONENTS_INIT
+ config RT_USING_USER_MAIN
+ bool "The main() function as user entry function"
+ default y
+endif
+
+source "$RTT_DIR/components/cplusplus/KConfig"
+
source "$RTT_DIR/components/finsh/KConfig"
source "$RTT_DIR/components/dfs/KConfig"