1. Split Kconfig from external's
2. Call it from os/Kconfig.runtime to get "Runtime Environment" title
at 1st depth of menuconfig
---help---
enable AWS IoT Device SDK
-config ENABLE_IOTJS
- bool "IoT.js"
- default n
- ---help---
- Enable IoT.js framework
-
-if ENABLE_IOTJS
-
-config IOTJS_PRIORITY
- int "IoT.js task priority"
- default 100
-
-config IOTJS_STACKSIZE
- int "IoT.js stack size"
- default 32768
-
-config IOTJS_JERRY_HEAP
- int "Jerryscript Heaplimit"
- default 128
-
-endif #ENABLE_IOTJS
-
source "$EXTERNALDIR/json/Kconfig"
source "$EXTERNALDIR/codecs/Kconfig"
--- /dev/null
+#
+# For a description of the syntax of this configuration file,
+# see kconfig-language at https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt
+#
+
+config ENABLE_IOTJS
+ bool "IoT.js"
+ default n
+ ---help---
+ Enable IoT.js framework
+
+if ENABLE_IOTJS
+
+config IOTJS_PRIORITY
+ int "IoT.js task priority"
+ default 100
+
+config IOTJS_STACKSIZE
+ int "IoT.js stack size"
+ default 32768
+
+config IOTJS_JERRY_HEAP
+ int "Jerryscript Heaplimit"
+ default 128
+
+endif #ENABLE_IOTJS
+
# see kconfig-language at https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt
#
+source "$EXTERNALDIR/iotjs/Kconfig.runtime"