summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/Kconfig2
-rw-r--r--apps/examples/Kconfig2
-rw-r--r--apps/examples/adc/Kconfig2
-rw-r--r--apps/examples/buttons/Kconfig2
-rw-r--r--apps/examples/can/Kconfig2
-rw-r--r--apps/examples/cdcacm/Kconfig2
-rw-r--r--apps/examples/dhcpd/Kconfig2
-rw-r--r--apps/examples/ftpc/Kconfig2
-rw-r--r--apps/examples/ftpd/Kconfig2
-rw-r--r--apps/examples/hello/Kconfig2
-rw-r--r--apps/examples/helloxx/Kconfig2
-rw-r--r--apps/examples/hidkbd/Kconfig2
-rw-r--r--apps/examples/igmp/Kconfig2
-rw-r--r--apps/examples/lcdrw/Kconfig2
-rw-r--r--apps/examples/mm/Kconfig2
-rw-r--r--apps/examples/mount/Kconfig2
-rw-r--r--apps/examples/nettest/Kconfig2
-rw-r--r--apps/examples/nsh/Kconfig2
-rw-r--r--apps/examples/null/Kconfig2
-rw-r--r--apps/examples/nx/Kconfig2
-rw-r--r--apps/examples/nxconsole/Kconfig2
-rw-r--r--apps/examples/nxffs/Kconfig2
-rw-r--r--apps/examples/nxflat/Kconfig2
-rw-r--r--apps/examples/nxhello/Kconfig2
-rw-r--r--apps/examples/nximage/Kconfig2
-rw-r--r--apps/examples/nxlines/Kconfig2
-rw-r--r--apps/examples/nxtext/Kconfig2
-rw-r--r--apps/examples/ostest/Kconfig2
-rw-r--r--apps/examples/pashello/Kconfig2
-rw-r--r--apps/examples/pipe/Kconfig2
-rw-r--r--apps/examples/poll/Kconfig2
-rw-r--r--apps/examples/pwm/Kconfig2
-rw-r--r--apps/examples/qencoder/Kconfig2
-rw-r--r--apps/examples/rgmp/Kconfig2
-rw-r--r--apps/examples/romfs/Kconfig2
-rw-r--r--apps/examples/sendmail/Kconfig2
-rw-r--r--apps/examples/serloop/Kconfig2
-rw-r--r--apps/examples/telnetd/Kconfig2
-rw-r--r--apps/examples/thttpd/Kconfig2
-rw-r--r--apps/examples/tiff/Kconfig2
-rw-r--r--apps/examples/touchscreen/Kconfig2
-rw-r--r--apps/examples/udp/Kconfig2
-rw-r--r--apps/examples/uip/Kconfig2
-rw-r--r--apps/examples/usbserial/Kconfig2
-rw-r--r--apps/examples/usbstorage/Kconfig2
-rw-r--r--apps/examples/usbterm/Kconfig2
-rw-r--r--apps/examples/wget/Kconfig2
-rw-r--r--apps/examples/wlan/Kconfig2
-rw-r--r--apps/graphics/Kconfig2
-rw-r--r--apps/interpreters/Kconfig2
-rw-r--r--apps/interpreters/ficl/Kconfig2
-rw-r--r--apps/namedapp/Kconfig2
-rw-r--r--apps/netutils/Kconfig2
-rw-r--r--apps/netutils/dhcpc/Kconfig2
-rw-r--r--apps/netutils/dhcpd/Kconfig2
-rw-r--r--apps/netutils/ftpc/Kconfig2
-rw-r--r--apps/netutils/ftpd/Kconfig2
-rw-r--r--apps/netutils/resolv/Kconfig2
-rw-r--r--apps/netutils/smtp/Kconfig2
-rw-r--r--apps/netutils/thttpd/Kconfig2
-rw-r--r--apps/netutils/uiplib/Kconfig2
-rw-r--r--apps/netutils/webclient/Kconfig2
-rw-r--r--apps/netutils/webserver/Kconfig2
-rw-r--r--apps/nshlib/Kconfig2
-rw-r--r--apps/system/Kconfig2
-rw-r--r--apps/system/free/Kconfig2
-rw-r--r--apps/system/i2c/Kconfig2
-rw-r--r--apps/system/install/Kconfig2
-rw-r--r--apps/system/readline/Kconfig2
-rw-r--r--apps/vsn/Kconfig2
-rw-r--r--apps/vsn/poweroff/Kconfig2
-rw-r--r--apps/vsn/ramtron/Kconfig2
-rw-r--r--apps/vsn/sdcard/Kconfig2
-rw-r--r--apps/vsn/sysinfo/Kconfig2
-rwxr-xr-xmisc/tools/kconfig-language.txt413
-rw-r--r--nuttx/Kconfig2
-rw-r--r--nuttx/arch/Kconfig2
-rw-r--r--nuttx/arch/arm/Kconfig2
-rw-r--r--nuttx/arch/avr/Kconfig2
-rw-r--r--nuttx/arch/hc/Kconfig2
-rw-r--r--nuttx/arch/mips/Kconfig2
-rw-r--r--nuttx/arch/rgmp/Kconfig2
-rw-r--r--nuttx/arch/sh/Kconfig2
-rw-r--r--nuttx/arch/x86/Kconfig2
-rw-r--r--nuttx/arch/z16/Kconfig2
-rw-r--r--nuttx/arch/z80/Kconfig2
-rw-r--r--nuttx/binfmt/Kconfig2
-rw-r--r--nuttx/binfmt/libnxflat/Kconfig2
-rw-r--r--nuttx/configs/Kconfig2
-rw-r--r--nuttx/configs/amber/Kconfig2
-rw-r--r--nuttx/configs/avr32dev1/Kconfig2
-rw-r--r--nuttx/configs/c5471evm/Kconfig2
-rw-r--r--nuttx/configs/compal_e88/Kconfig2
-rw-r--r--nuttx/configs/compal_e99/Kconfig2
-rw-r--r--nuttx/configs/demo9s12ne64/Kconfig2
-rw-r--r--nuttx/configs/ea3131/Kconfig2
-rw-r--r--nuttx/configs/ea3152/Kconfig2
-rw-r--r--nuttx/configs/eagle100/Kconfig2
-rw-r--r--nuttx/configs/ez80f910200kitg/Kconfig2
-rw-r--r--nuttx/configs/ez80f910200zco/Kconfig2
-rw-r--r--nuttx/configs/hymini-stm32v/Kconfig2
-rw-r--r--nuttx/configs/kwikstik-k40/Kconfig2
-rw-r--r--nuttx/configs/lm3s6432-s2e/Kconfig2
-rw-r--r--nuttx/configs/lm3s6965-ek/Kconfig2
-rw-r--r--nuttx/configs/lm3s8962-ek/Kconfig2
-rw-r--r--nuttx/configs/lpcxpresso-lpc1768/Kconfig2
-rw-r--r--nuttx/configs/m68332evb/Kconfig2
-rw-r--r--nuttx/configs/mbed/Kconfig2
-rw-r--r--nuttx/configs/mcu123-lpc214x/Kconfig2
-rw-r--r--nuttx/configs/micropendous3/Kconfig2
-rw-r--r--nuttx/configs/mx1ads/Kconfig2
-rw-r--r--nuttx/configs/ne64badge/Kconfig2
-rw-r--r--nuttx/configs/ntosd-dm320/Kconfig2
-rw-r--r--nuttx/configs/nucleus2g/Kconfig2
-rw-r--r--nuttx/configs/olimex-lpc1766stk/Kconfig2
-rw-r--r--nuttx/configs/olimex-lpc2378/Kconfig2
-rw-r--r--nuttx/configs/olimex-strp711/Kconfig2
-rw-r--r--nuttx/configs/pcblogic-pic32mx/Kconfig2
-rw-r--r--nuttx/configs/pic32-starterkit/Kconfig2
-rw-r--r--nuttx/configs/pjrc-8051/Kconfig2
-rw-r--r--nuttx/configs/qemu-i486/Kconfig2
-rw-r--r--nuttx/configs/rgmp/Kconfig2
-rw-r--r--nuttx/configs/sam3u-ek/Kconfig2
-rw-r--r--nuttx/configs/sim/Kconfig2
-rw-r--r--nuttx/configs/skp16c26/Kconfig2
-rw-r--r--nuttx/configs/stm3210e-eval/Kconfig2
-rw-r--r--nuttx/configs/stm3220g-eval/Kconfig2
-rw-r--r--nuttx/configs/stm3240g-eval/Kconfig2
-rw-r--r--nuttx/configs/stm32f4discovery/Kconfig2
-rw-r--r--nuttx/configs/sure-pic32mx/Kconfig2
-rw-r--r--nuttx/configs/teensy/Kconfig2
-rw-r--r--nuttx/configs/twr-k60n512/Kconfig2
-rw-r--r--nuttx/configs/us7032evb1/Kconfig2
-rw-r--r--nuttx/configs/vsn/Kconfig2
-rw-r--r--nuttx/configs/xtrs/Kconfig2
-rw-r--r--nuttx/configs/z16f2800100zcog/Kconfig2
-rw-r--r--nuttx/configs/z80sim/Kconfig2
-rw-r--r--nuttx/configs/z8encore000zco/Kconfig2
-rw-r--r--nuttx/configs/z8f64200100kit/Kconfig2
-rw-r--r--nuttx/drivers/Kconfig2
-rw-r--r--nuttx/drivers/analog/Kconfig2
-rw-r--r--nuttx/drivers/bch/Kconfig2
-rw-r--r--nuttx/drivers/input/Kconfig2
-rw-r--r--nuttx/drivers/lcd/Kconfig2
-rw-r--r--nuttx/drivers/mmcsd/Kconfig2
-rw-r--r--nuttx/drivers/mtd/Kconfig2
-rw-r--r--nuttx/drivers/net/Kconfig2
-rw-r--r--nuttx/drivers/pipes/Kconfig2
-rw-r--r--nuttx/drivers/power/Kconfig2
-rw-r--r--nuttx/drivers/sensors/Kconfig2
-rw-r--r--nuttx/drivers/sercomm/Kconfig2
-rw-r--r--nuttx/drivers/serial/Kconfig2
-rw-r--r--nuttx/drivers/usbdev/Kconfig2
-rw-r--r--nuttx/drivers/usbhost/Kconfig2
-rw-r--r--nuttx/drivers/wireless/Kconfig2
-rw-r--r--nuttx/drivers/wireless/cc1101/Kconfig2
-rw-r--r--nuttx/fs/Kconfig2
-rw-r--r--nuttx/fs/fat/Kconfig2
-rw-r--r--nuttx/fs/mmap/Kconfig2
-rw-r--r--nuttx/fs/nfs/Kconfig2
-rw-r--r--nuttx/fs/nxffs/Kconfig2
-rw-r--r--nuttx/fs/romfs/Kconfig2
-rw-r--r--nuttx/graphics/Kconfig2
-rw-r--r--nuttx/lib/Kconfig2
-rw-r--r--nuttx/libxx/Kconfig2
-rw-r--r--nuttx/mm/Kconfig2
-rw-r--r--nuttx/net/Kconfig2
-rw-r--r--nuttx/sched/Kconfig2
-rw-r--r--nuttx/syscall/Kconfig2
169 files changed, 581 insertions, 168 deletions
diff --git a/apps/Kconfig b/apps/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/Kconfig
+++ b/apps/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/Kconfig b/apps/examples/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/Kconfig
+++ b/apps/examples/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/adc/Kconfig b/apps/examples/adc/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/adc/Kconfig
+++ b/apps/examples/adc/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/buttons/Kconfig b/apps/examples/buttons/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/buttons/Kconfig
+++ b/apps/examples/buttons/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/can/Kconfig b/apps/examples/can/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/can/Kconfig
+++ b/apps/examples/can/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/cdcacm/Kconfig b/apps/examples/cdcacm/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/cdcacm/Kconfig
+++ b/apps/examples/cdcacm/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/dhcpd/Kconfig b/apps/examples/dhcpd/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/dhcpd/Kconfig
+++ b/apps/examples/dhcpd/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/ftpc/Kconfig b/apps/examples/ftpc/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/ftpc/Kconfig
+++ b/apps/examples/ftpc/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/ftpd/Kconfig b/apps/examples/ftpd/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/ftpd/Kconfig
+++ b/apps/examples/ftpd/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/hello/Kconfig b/apps/examples/hello/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/hello/Kconfig
+++ b/apps/examples/hello/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/helloxx/Kconfig b/apps/examples/helloxx/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/helloxx/Kconfig
+++ b/apps/examples/helloxx/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/hidkbd/Kconfig b/apps/examples/hidkbd/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/hidkbd/Kconfig
+++ b/apps/examples/hidkbd/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/igmp/Kconfig b/apps/examples/igmp/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/igmp/Kconfig
+++ b/apps/examples/igmp/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/lcdrw/Kconfig b/apps/examples/lcdrw/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/lcdrw/Kconfig
+++ b/apps/examples/lcdrw/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/mm/Kconfig b/apps/examples/mm/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/mm/Kconfig
+++ b/apps/examples/mm/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/mount/Kconfig b/apps/examples/mount/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/mount/Kconfig
+++ b/apps/examples/mount/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/nettest/Kconfig b/apps/examples/nettest/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/nettest/Kconfig
+++ b/apps/examples/nettest/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/nsh/Kconfig b/apps/examples/nsh/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/nsh/Kconfig
+++ b/apps/examples/nsh/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/null/Kconfig b/apps/examples/null/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/null/Kconfig
+++ b/apps/examples/null/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/nx/Kconfig b/apps/examples/nx/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/nx/Kconfig
+++ b/apps/examples/nx/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/nxconsole/Kconfig b/apps/examples/nxconsole/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/nxconsole/Kconfig
+++ b/apps/examples/nxconsole/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/nxffs/Kconfig b/apps/examples/nxffs/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/nxffs/Kconfig
+++ b/apps/examples/nxffs/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/nxflat/Kconfig b/apps/examples/nxflat/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/nxflat/Kconfig
+++ b/apps/examples/nxflat/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/nxhello/Kconfig b/apps/examples/nxhello/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/nxhello/Kconfig
+++ b/apps/examples/nxhello/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/nximage/Kconfig b/apps/examples/nximage/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/nximage/Kconfig
+++ b/apps/examples/nximage/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/nxlines/Kconfig b/apps/examples/nxlines/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/nxlines/Kconfig
+++ b/apps/examples/nxlines/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/nxtext/Kconfig b/apps/examples/nxtext/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/nxtext/Kconfig
+++ b/apps/examples/nxtext/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/ostest/Kconfig b/apps/examples/ostest/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/ostest/Kconfig
+++ b/apps/examples/ostest/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/pashello/Kconfig b/apps/examples/pashello/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/pashello/Kconfig
+++ b/apps/examples/pashello/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/pipe/Kconfig b/apps/examples/pipe/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/pipe/Kconfig
+++ b/apps/examples/pipe/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/poll/Kconfig b/apps/examples/poll/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/poll/Kconfig
+++ b/apps/examples/poll/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/pwm/Kconfig b/apps/examples/pwm/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/pwm/Kconfig
+++ b/apps/examples/pwm/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/qencoder/Kconfig b/apps/examples/qencoder/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/qencoder/Kconfig
+++ b/apps/examples/qencoder/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/rgmp/Kconfig b/apps/examples/rgmp/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/rgmp/Kconfig
+++ b/apps/examples/rgmp/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/romfs/Kconfig b/apps/examples/romfs/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/romfs/Kconfig
+++ b/apps/examples/romfs/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/sendmail/Kconfig b/apps/examples/sendmail/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/sendmail/Kconfig
+++ b/apps/examples/sendmail/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/serloop/Kconfig b/apps/examples/serloop/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/serloop/Kconfig
+++ b/apps/examples/serloop/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/telnetd/Kconfig b/apps/examples/telnetd/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/telnetd/Kconfig
+++ b/apps/examples/telnetd/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/thttpd/Kconfig b/apps/examples/thttpd/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/thttpd/Kconfig
+++ b/apps/examples/thttpd/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/tiff/Kconfig b/apps/examples/tiff/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/tiff/Kconfig
+++ b/apps/examples/tiff/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/touchscreen/Kconfig b/apps/examples/touchscreen/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/touchscreen/Kconfig
+++ b/apps/examples/touchscreen/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/udp/Kconfig b/apps/examples/udp/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/udp/Kconfig
+++ b/apps/examples/udp/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/uip/Kconfig b/apps/examples/uip/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/uip/Kconfig
+++ b/apps/examples/uip/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/usbserial/Kconfig b/apps/examples/usbserial/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/usbserial/Kconfig
+++ b/apps/examples/usbserial/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/usbstorage/Kconfig b/apps/examples/usbstorage/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/usbstorage/Kconfig
+++ b/apps/examples/usbstorage/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/usbterm/Kconfig b/apps/examples/usbterm/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/usbterm/Kconfig
+++ b/apps/examples/usbterm/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/wget/Kconfig b/apps/examples/wget/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/wget/Kconfig
+++ b/apps/examples/wget/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/examples/wlan/Kconfig b/apps/examples/wlan/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/examples/wlan/Kconfig
+++ b/apps/examples/wlan/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/graphics/Kconfig b/apps/graphics/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/graphics/Kconfig
+++ b/apps/graphics/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/interpreters/Kconfig b/apps/interpreters/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/interpreters/Kconfig
+++ b/apps/interpreters/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/interpreters/ficl/Kconfig b/apps/interpreters/ficl/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/interpreters/ficl/Kconfig
+++ b/apps/interpreters/ficl/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/namedapp/Kconfig b/apps/namedapp/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/namedapp/Kconfig
+++ b/apps/namedapp/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/netutils/Kconfig b/apps/netutils/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/netutils/Kconfig
+++ b/apps/netutils/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/netutils/dhcpc/Kconfig b/apps/netutils/dhcpc/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/netutils/dhcpc/Kconfig
+++ b/apps/netutils/dhcpc/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/netutils/dhcpd/Kconfig b/apps/netutils/dhcpd/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/netutils/dhcpd/Kconfig
+++ b/apps/netutils/dhcpd/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/netutils/ftpc/Kconfig b/apps/netutils/ftpc/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/netutils/ftpc/Kconfig
+++ b/apps/netutils/ftpc/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/netutils/ftpd/Kconfig b/apps/netutils/ftpd/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/netutils/ftpd/Kconfig
+++ b/apps/netutils/ftpd/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/netutils/resolv/Kconfig b/apps/netutils/resolv/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/netutils/resolv/Kconfig
+++ b/apps/netutils/resolv/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/netutils/smtp/Kconfig b/apps/netutils/smtp/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/netutils/smtp/Kconfig
+++ b/apps/netutils/smtp/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/netutils/thttpd/Kconfig b/apps/netutils/thttpd/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/netutils/thttpd/Kconfig
+++ b/apps/netutils/thttpd/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/netutils/uiplib/Kconfig b/apps/netutils/uiplib/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/netutils/uiplib/Kconfig
+++ b/apps/netutils/uiplib/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/netutils/webclient/Kconfig b/apps/netutils/webclient/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/netutils/webclient/Kconfig
+++ b/apps/netutils/webclient/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/netutils/webserver/Kconfig b/apps/netutils/webserver/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/netutils/webserver/Kconfig
+++ b/apps/netutils/webserver/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/nshlib/Kconfig b/apps/nshlib/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/nshlib/Kconfig
+++ b/apps/nshlib/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/system/Kconfig b/apps/system/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/system/Kconfig
+++ b/apps/system/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/system/free/Kconfig b/apps/system/free/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/system/free/Kconfig
+++ b/apps/system/free/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/system/i2c/Kconfig b/apps/system/i2c/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/system/i2c/Kconfig
+++ b/apps/system/i2c/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/system/install/Kconfig b/apps/system/install/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/system/install/Kconfig
+++ b/apps/system/install/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/system/readline/Kconfig b/apps/system/readline/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/system/readline/Kconfig
+++ b/apps/system/readline/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/vsn/Kconfig b/apps/vsn/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/vsn/Kconfig
+++ b/apps/vsn/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/vsn/poweroff/Kconfig b/apps/vsn/poweroff/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/vsn/poweroff/Kconfig
+++ b/apps/vsn/poweroff/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/vsn/ramtron/Kconfig b/apps/vsn/ramtron/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/vsn/ramtron/Kconfig
+++ b/apps/vsn/ramtron/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/vsn/sdcard/Kconfig b/apps/vsn/sdcard/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/vsn/sdcard/Kconfig
+++ b/apps/vsn/sdcard/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/apps/vsn/sysinfo/Kconfig b/apps/vsn/sysinfo/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/apps/vsn/sysinfo/Kconfig
+++ b/apps/vsn/sysinfo/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/misc/tools/kconfig-language.txt b/misc/tools/kconfig-language.txt
new file mode 100755
index 000000000..44e2649fb
--- /dev/null
+++ b/misc/tools/kconfig-language.txt
@@ -0,0 +1,413 @@
+Introduction
+------------
+
+The configuration database is a collection of configuration options
+organized in a tree structure:
+
+ +- Code maturity level options
+ | +- Prompt for development and/or incomplete code/drivers
+ +- General setup
+ | +- Networking support
+ | +- System V IPC
+ | +- BSD Process Accounting
+ | +- Sysctl support
+ +- Loadable module support
+ | +- Enable loadable module support
+ | +- Set version information on all module symbols
+ | +- Kernel module loader
+ +- ...
+
+Every entry has its own dependencies. These dependencies are used
+to determine the visibility of an entry. Any child entry is only
+visible if its parent entry is also visible.
+
+Menu entries
+------------
+
+Most entries define a config option; all other entries help to organize
+them. A single configuration option is defined like this:
+
+config MODVERSIONS
+ bool "Set version information on all module symbols"
+ depends on MODULES
+ help
+ Usually, modules have to be recompiled whenever you switch to a new
+ kernel. ...
+
+Every line starts with a key word and can be followed by multiple
+arguments. "config" starts a new config entry. The following lines
+define attributes for this config option. Attributes can be the type of
+the config option, input prompt, dependencies, help text and default
+values. A config option can be defined multiple times with the same
+name, but every definition can have only a single input prompt and the
+type must not conflict.
+
+Menu attributes
+---------------
+
+A menu entry can have a number of attributes. Not all of them are
+applicable everywhere (see syntax).
+
+- type definition: "bool"/"tristate"/"string"/"hex"/"int"
+ Every config option must have a type. There are only two basic types:
+ tristate and string; the other types are based on these two. The type
+ definition optionally accepts an input prompt, so these two examples
+ are equivalent:
+
+ bool "Networking support"
+ and
+ bool
+ prompt "Networking support"
+
+- input prompt: "prompt" <prompt> ["if" <expr>]
+ Every menu entry can have at most one prompt, which is used to display
+ to the user. Optionally dependencies only for this prompt can be added
+ with "if".
+
+- default value: "default" <expr> ["if" <expr>]
+ A config option can have any number of default values. If multiple
+ default values are visible, only the first defined one is active.
+ Default values are not limited to the menu entry where they are
+ defined. This means the default can be defined somewhere else or be
+ overridden by an earlier definition.
+ The default value is only assigned to the config symbol if no other
+ value was set by the user (via the input prompt above). If an input
+ prompt is visible the default value is presented to the user and can
+ be overridden by him.
+ Optionally, dependencies only for this default value can be added with
+ "if".
+
+- type definition + default value:
+ "def_bool"/"def_tristate" <expr> ["if" <expr>]
+ This is a shorthand notation for a type definition plus a value.
+ Optionally dependencies for this default value can be added with "if".
+
+- dependencies: "depends on" <expr>
+ This defines a dependency for this menu entry. If multiple
+ dependencies are defined, they are connected with '&&'. Dependencies
+ are applied to all other options within this menu entry (which also
+ accept an "if" expression), so these two examples are equivalent:
+
+ bool "foo" if BAR
+ default y if BAR
+ and
+ depends on BAR
+ bool "foo"
+ default y
+
+- reverse dependencies: "select" <symbol> ["if" <expr>]
+ While normal dependencies reduce the upper limit of a symbol (see
+ below), reverse dependencies can be used to force a lower limit of
+ another symbol. The value of the current menu symbol is used as the
+ minimal value <symbol> can be set to. If <symbol> is selected multiple
+ times, the limit is set to the largest selection.
+ Reverse dependencies can only be used with boolean or tristate
+ symbols.
+ Note:
+ select should be used with care. select will force
+ a symbol to a value without visiting the dependencies.
+ By abusing select you are able to select a symbol FOO even
+ if FOO depends on BAR that is not set.
+ In general use select only for non-visible symbols
+ (no prompts anywhere) and for symbols with no dependencies.
+ That will limit the usefulness but on the other hand avoid
+ the illegal configurations all over.
+
+- limiting menu display: "visible if" <expr>
+ This attribute is only applicable to menu blocks, if the condition is
+ false, the menu block is not displayed to the user (the symbols
+ contained there can still be selected by other symbols, though). It is
+ similar to a conditional "prompt" attribude for individual menu
+ entries. Default value of "visible" is true.
+
+- numerical ranges: "range" <symbol> <symbol> ["if" <expr>]
+ This allows to limit the range of possible input values for int
+ and hex symbols. The user can only input a value which is larger than
+ or equal to the first symbol and smaller than or equal to the second
+ symbol.
+
+- help text: "help" or "---help---"
+ This defines a help text. The end of the help text is determined by
+ the indentation level, this means it ends at the first line which has
+ a smaller indentation than the first line of the help text.
+ "---help---" and "help" do not differ in behaviour, "---help---" is
+ used to help visually separate configuration logic from help within
+ the file as an aid to developers.
+
+- misc options: "option" <symbol>[=<value>]
+ Various less common options can be defined via this option syntax,
+ which can modify the behaviour of the menu entry and its config
+ symbol. These options are currently possible:
+
+ - "defconfig_list"
+ This declares a list of default entries which can be used when
+ looking for the default configuration (which is used when the main
+ .config doesn't exists yet.)
+
+ - "modules"
+ This declares the symbol to be used as the MODULES symbol, which
+ enables the third modular state for all config symbols.
+
+ - "env"=<value>
+ This imports the environment variable into Kconfig. It behaves like
+ a default, except that the value comes from the environment, this
+ also means that the behaviour when mixing it with normal defaults is
+ undefined at this point. The symbol is currently not exported back
+ to the build environment (if this is desired, it can be done via
+ another symbol).
+
+Menu dependencies
+-----------------
+
+Dependencies define the visibility of a menu entry and can also reduce
+the input range of tristate symbols. The tristate logic used in the
+expressions uses one more state than normal boolean logic to express the
+module state. Dependency expressions have the following syntax:
+
+<expr> ::= <symbol> (1)
+ <symbol> '=' <symbol> (2)
+ <symbol> '!=' <symbol> (3)
+ '(' <expr> ')' (4)
+ '!' <expr> (5)
+ <expr> '&&' <expr> (6)
+ <expr> '||' <expr> (7)
+
+Expressions are listed in decreasing order of precedence.
+
+(1) Convert the symbol into an expression. Boolean and tristate symbols
+ are simply converted into the respective expression values. All
+ other symbol types result in 'n'.
+(2) If the values of both symbols are equal, it returns 'y',
+ otherwise 'n'.
+(3) If the values of both symbols are equal, it returns 'n',
+ otherwise 'y'.
+(4) Returns the value of the expression. Used to override precedence.
+(5) Returns the result of (2-/expr/).
+(6) Returns the result of min(/expr/, /expr/).
+(7) Returns the result of max(/expr/, /expr/).
+
+An expression can have a value of 'n', 'm' or 'y' (or 0, 1, 2
+respectively for calculations). A menu entry becomes visible when its
+expression evaluates to 'm' or 'y'.
+
+There are two types of symbols: constant and non-constant symbols.
+Non-constant symbols are the most common ones and are defined with the
+'config' statement. Non-constant symbols consist entirely of alphanumeric
+characters or underscores.
+Constant symbols are only part of expressions. Constant symbols are
+always surrounded by single or double quotes. Within the quote, any
+other character is allowed and the quotes can be escaped using '\'.
+
+Menu structure
+--------------
+
+The position of a menu entry in the tree is determined in two ways. First
+it can be specified explicitly:
+
+menu "Network device support"
+ depends on NET
+
+config NETDEVICES
+ ...
+
+endmenu
+
+All entries within the "menu" ... "endmenu" block become a submenu of
+"Network device support". All subentries inherit the dependencies from
+the menu entry, e.g. this means the dependency "NET" is added to the
+dependency list of the config option NETDEVICES.
+
+The other way to generate the menu structure is done by analyzing the
+dependencies. If a menu entry somehow depends on the previous entry, it
+can be made a submenu of it. First, the previous (parent) symbol must
+be part of the dependency list and then one of these two conditions
+must be true:
+- the child entry must become invisible, if the parent is set to 'n'
+- the child entry must only be visible, if the parent is visible
+
+config MODULES
+ bool "Enable loadable module support"
+
+config MODVERSIONS
+ bool "Set version information on all module symbols"
+ depends on MODULES
+
+comment "module support disabled"
+ depends on !MODULES
+
+MODVERSIONS directly depends on MODULES, this means it's only visible if
+MODULES is different from 'n'. The comment on the other hand is always
+visible when MODULES is visible (the (empty) dependency of MODULES is
+also part of the comment dependencies).
+
+
+Kconfig syntax
+--------------
+
+The configuration file describes a series of menu entries, where every
+line starts with a keyword (except help texts). The following keywords
+end a menu entry:
+- config
+- menuconfig
+- choice/endchoice
+- comment
+- menu/endmenu
+- if/endif
+- source
+The first five also start the definition of a menu entry.
+
+config:
+
+ "config" <symbol>
+ <config options>
+
+This defines a config symbol <symbol> and accepts any of above
+attributes as options.
+
+menuconfig:
+ "menuconfig" <symbol>
+ <config options>
+
+This is similar to the simple config entry above, but it also gives a
+hint to front ends, that all suboptions should be displayed as a
+separate list of options.
+
+choices:
+
+ "choice" [symbol]
+ <choice options>
+ <choice block>
+ "endchoice"
+
+This defines a choice group and accepts any of the above attributes as
+options. A choice can only be of type bool or tristate, while a boolean
+choice only allows a single config entry to be selected, a tristate
+choice also allows any number of config entries to be set to 'm'. This
+can be used if multiple drivers for a single hardware exists and only a
+single driver can be compiled/loaded into the kernel, but all drivers
+can be compiled as modules.
+A choice accepts another option "optional", which allows to set the
+choice to 'n' and no entry needs to be selected.
+If no [symbol] is associated with a choice, then you can not have multiple
+definitions of that choice. If a [symbol] is associated to the choice,
+then you may define the same choice (ie. with the same entries) in another
+place.
+
+comment:
+
+ "comment" <prompt>
+ <comment options>
+
+This defines a comment which is displayed to the user during the
+configuration process and is also echoed to the output files. The only
+possible options are dependencies.
+
+menu:
+
+ "menu" <prompt>
+ <menu options>
+ <menu block>
+ "endmenu"
+
+This defines a menu block, see "Menu structure" above for more
+information. The only possible options are dependencies and "visible"
+attributes.
+
+if:
+
+ "if" <expr>
+ <if block>
+ "endif"
+
+This defines an if block. The dependency expression <expr> is appended
+to all enclosed menu entries.
+
+source:
+
+ "source" <prompt>
+
+This reads the specified configuration file. This file is always parsed.
+
+mainmenu:
+
+ "mainmenu" <prompt>
+
+This sets the config program's title bar if the config program chooses
+to use it. It should be placed at the top of the configuration, before any
+other statement.
+
+
+Kconfig hints
+-------------
+This is a collection of Kconfig tips, most of which aren't obvious at
+first glance and most of which have become idioms in several Kconfig
+files.
+
+Adding common features and make the usage configurable
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+It is a common idiom to implement a feature/functionality that are
+relevant for some architectures but not all.
+The recommended way to do so is to use a config variable named HAVE_*
+that is defined in a common Kconfig file and selected by the relevant
+architectures.
+An example is the generic IOMAP functionality.
+
+We would in lib/Kconfig see:
+
+# Generic IOMAP is used to ...
+config HAVE_GENERIC_IOMAP
+
+config GENERIC_IOMAP
+ depends on HAVE_GENERIC_IOMAP && FOO
+
+And in lib/Makefile we would see:
+obj-$(CONFIG_GENERIC_IOMAP) += iomap.o
+
+For each architecture using the generic IOMAP functionality we would see:
+
+config X86
+ select ...
+ select HAVE_GENERIC_IOMAP
+ select ...
+
+Note: we use the existing config option and avoid creating a new
+config variable to select HAVE_GENERIC_IOMAP.
+
+Note: the use of the internal config variable HAVE_GENERIC_IOMAP, it is
+introduced to overcome the limitation of select which will force a
+config option to 'y' no matter the dependencies.
+The dependencies are moved to the symbol GENERIC_IOMAP and we avoid the
+situation where select forces a symbol equals to 'y'.
+
+Build as module only
+~~~~~~~~~~~~~~~~~~~~
+To restrict a component build to module-only, qualify its config symbol
+with "depends on m". E.g.:
+
+config FOO
+ depends on BAR && m
+
+limits FOO to module (=m) or disabled (=n).
+
+Kconfig symbol existence
+~~~~~~~~~~~~~~~~~~~~~~~~
+The following two methods produce the same kconfig symbol dependencies
+but differ greatly in kconfig symbol existence (production) in the
+generated config file.
+
+case 1:
+
+config FOO
+ tristate "about foo"
+ depends on BAR
+
+vs. case 2:
+
+if BAR
+config FOO
+ tristate "about foo"
+endif
+
+In case 1, the symbol FOO will always exist in the config file (given
+no other dependencies). In case 2, the symbol FOO will only exist in
+the config file if BAR is enabled.
diff --git a/nuttx/Kconfig b/nuttx/Kconfig
index 79b318f46..22fb3f97f 100644
--- a/nuttx/Kconfig
+++ b/nuttx/Kconfig
@@ -1,6 +1,6 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
mainmenu "Nuttx/$ARCH Configuration"
diff --git a/nuttx/arch/Kconfig b/nuttx/arch/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/arch/Kconfig
+++ b/nuttx/arch/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/arch/arm/Kconfig b/nuttx/arch/arm/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/arch/arm/Kconfig
+++ b/nuttx/arch/arm/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/arch/avr/Kconfig b/nuttx/arch/avr/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/arch/avr/Kconfig
+++ b/nuttx/arch/avr/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/arch/hc/Kconfig b/nuttx/arch/hc/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/arch/hc/Kconfig
+++ b/nuttx/arch/hc/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/arch/mips/Kconfig b/nuttx/arch/mips/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/arch/mips/Kconfig
+++ b/nuttx/arch/mips/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/arch/rgmp/Kconfig b/nuttx/arch/rgmp/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/arch/rgmp/Kconfig
+++ b/nuttx/arch/rgmp/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/arch/sh/Kconfig b/nuttx/arch/sh/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/arch/sh/Kconfig
+++ b/nuttx/arch/sh/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/arch/x86/Kconfig b/nuttx/arch/x86/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/arch/x86/Kconfig
+++ b/nuttx/arch/x86/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/arch/z16/Kconfig b/nuttx/arch/z16/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/arch/z16/Kconfig
+++ b/nuttx/arch/z16/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/arch/z80/Kconfig b/nuttx/arch/z80/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/arch/z80/Kconfig
+++ b/nuttx/arch/z80/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/binfmt/Kconfig b/nuttx/binfmt/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/binfmt/Kconfig
+++ b/nuttx/binfmt/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/binfmt/libnxflat/Kconfig b/nuttx/binfmt/libnxflat/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/binfmt/libnxflat/Kconfig
+++ b/nuttx/binfmt/libnxflat/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/Kconfig b/nuttx/configs/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/Kconfig
+++ b/nuttx/configs/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/amber/Kconfig b/nuttx/configs/amber/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/amber/Kconfig
+++ b/nuttx/configs/amber/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/avr32dev1/Kconfig b/nuttx/configs/avr32dev1/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/avr32dev1/Kconfig
+++ b/nuttx/configs/avr32dev1/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/c5471evm/Kconfig b/nuttx/configs/c5471evm/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/c5471evm/Kconfig
+++ b/nuttx/configs/c5471evm/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/compal_e88/Kconfig b/nuttx/configs/compal_e88/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/compal_e88/Kconfig
+++ b/nuttx/configs/compal_e88/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/compal_e99/Kconfig b/nuttx/configs/compal_e99/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/compal_e99/Kconfig
+++ b/nuttx/configs/compal_e99/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/demo9s12ne64/Kconfig b/nuttx/configs/demo9s12ne64/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/demo9s12ne64/Kconfig
+++ b/nuttx/configs/demo9s12ne64/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/ea3131/Kconfig b/nuttx/configs/ea3131/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/ea3131/Kconfig
+++ b/nuttx/configs/ea3131/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/ea3152/Kconfig b/nuttx/configs/ea3152/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/ea3152/Kconfig
+++ b/nuttx/configs/ea3152/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/eagle100/Kconfig b/nuttx/configs/eagle100/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/eagle100/Kconfig
+++ b/nuttx/configs/eagle100/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/ez80f910200kitg/Kconfig b/nuttx/configs/ez80f910200kitg/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/ez80f910200kitg/Kconfig
+++ b/nuttx/configs/ez80f910200kitg/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/ez80f910200zco/Kconfig b/nuttx/configs/ez80f910200zco/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/ez80f910200zco/Kconfig
+++ b/nuttx/configs/ez80f910200zco/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/hymini-stm32v/Kconfig b/nuttx/configs/hymini-stm32v/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/hymini-stm32v/Kconfig
+++ b/nuttx/configs/hymini-stm32v/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/kwikstik-k40/Kconfig b/nuttx/configs/kwikstik-k40/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/kwikstik-k40/Kconfig
+++ b/nuttx/configs/kwikstik-k40/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/lm3s6432-s2e/Kconfig b/nuttx/configs/lm3s6432-s2e/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/lm3s6432-s2e/Kconfig
+++ b/nuttx/configs/lm3s6432-s2e/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/lm3s6965-ek/Kconfig b/nuttx/configs/lm3s6965-ek/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/lm3s6965-ek/Kconfig
+++ b/nuttx/configs/lm3s6965-ek/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/lm3s8962-ek/Kconfig b/nuttx/configs/lm3s8962-ek/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/lm3s8962-ek/Kconfig
+++ b/nuttx/configs/lm3s8962-ek/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/lpcxpresso-lpc1768/Kconfig b/nuttx/configs/lpcxpresso-lpc1768/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/lpcxpresso-lpc1768/Kconfig
+++ b/nuttx/configs/lpcxpresso-lpc1768/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/m68332evb/Kconfig b/nuttx/configs/m68332evb/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/m68332evb/Kconfig
+++ b/nuttx/configs/m68332evb/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/mbed/Kconfig b/nuttx/configs/mbed/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/mbed/Kconfig
+++ b/nuttx/configs/mbed/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/mcu123-lpc214x/Kconfig b/nuttx/configs/mcu123-lpc214x/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/mcu123-lpc214x/Kconfig
+++ b/nuttx/configs/mcu123-lpc214x/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/micropendous3/Kconfig b/nuttx/configs/micropendous3/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/micropendous3/Kconfig
+++ b/nuttx/configs/micropendous3/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/mx1ads/Kconfig b/nuttx/configs/mx1ads/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/mx1ads/Kconfig
+++ b/nuttx/configs/mx1ads/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/ne64badge/Kconfig b/nuttx/configs/ne64badge/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/ne64badge/Kconfig
+++ b/nuttx/configs/ne64badge/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/ntosd-dm320/Kconfig b/nuttx/configs/ntosd-dm320/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/ntosd-dm320/Kconfig
+++ b/nuttx/configs/ntosd-dm320/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/nucleus2g/Kconfig b/nuttx/configs/nucleus2g/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/nucleus2g/Kconfig
+++ b/nuttx/configs/nucleus2g/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/olimex-lpc1766stk/Kconfig b/nuttx/configs/olimex-lpc1766stk/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/olimex-lpc1766stk/Kconfig
+++ b/nuttx/configs/olimex-lpc1766stk/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/olimex-lpc2378/Kconfig b/nuttx/configs/olimex-lpc2378/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/olimex-lpc2378/Kconfig
+++ b/nuttx/configs/olimex-lpc2378/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/olimex-strp711/Kconfig b/nuttx/configs/olimex-strp711/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/olimex-strp711/Kconfig
+++ b/nuttx/configs/olimex-strp711/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/pcblogic-pic32mx/Kconfig b/nuttx/configs/pcblogic-pic32mx/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/pcblogic-pic32mx/Kconfig
+++ b/nuttx/configs/pcblogic-pic32mx/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/pic32-starterkit/Kconfig b/nuttx/configs/pic32-starterkit/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/pic32-starterkit/Kconfig
+++ b/nuttx/configs/pic32-starterkit/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/pjrc-8051/Kconfig b/nuttx/configs/pjrc-8051/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/pjrc-8051/Kconfig
+++ b/nuttx/configs/pjrc-8051/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/qemu-i486/Kconfig b/nuttx/configs/qemu-i486/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/qemu-i486/Kconfig
+++ b/nuttx/configs/qemu-i486/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/rgmp/Kconfig b/nuttx/configs/rgmp/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/rgmp/Kconfig
+++ b/nuttx/configs/rgmp/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/sam3u-ek/Kconfig b/nuttx/configs/sam3u-ek/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/sam3u-ek/Kconfig
+++ b/nuttx/configs/sam3u-ek/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/sim/Kconfig b/nuttx/configs/sim/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/sim/Kconfig
+++ b/nuttx/configs/sim/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/skp16c26/Kconfig b/nuttx/configs/skp16c26/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/skp16c26/Kconfig
+++ b/nuttx/configs/skp16c26/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/stm3210e-eval/Kconfig b/nuttx/configs/stm3210e-eval/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/stm3210e-eval/Kconfig
+++ b/nuttx/configs/stm3210e-eval/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/stm3220g-eval/Kconfig b/nuttx/configs/stm3220g-eval/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/stm3220g-eval/Kconfig
+++ b/nuttx/configs/stm3220g-eval/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/stm3240g-eval/Kconfig b/nuttx/configs/stm3240g-eval/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/stm3240g-eval/Kconfig
+++ b/nuttx/configs/stm3240g-eval/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/stm32f4discovery/Kconfig b/nuttx/configs/stm32f4discovery/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/stm32f4discovery/Kconfig
+++ b/nuttx/configs/stm32f4discovery/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/sure-pic32mx/Kconfig b/nuttx/configs/sure-pic32mx/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/sure-pic32mx/Kconfig
+++ b/nuttx/configs/sure-pic32mx/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/teensy/Kconfig b/nuttx/configs/teensy/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/teensy/Kconfig
+++ b/nuttx/configs/teensy/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/twr-k60n512/Kconfig b/nuttx/configs/twr-k60n512/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/twr-k60n512/Kconfig
+++ b/nuttx/configs/twr-k60n512/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/us7032evb1/Kconfig b/nuttx/configs/us7032evb1/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/us7032evb1/Kconfig
+++ b/nuttx/configs/us7032evb1/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/vsn/Kconfig b/nuttx/configs/vsn/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/vsn/Kconfig
+++ b/nuttx/configs/vsn/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/xtrs/Kconfig b/nuttx/configs/xtrs/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/xtrs/Kconfig
+++ b/nuttx/configs/xtrs/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/z16f2800100zcog/Kconfig b/nuttx/configs/z16f2800100zcog/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/z16f2800100zcog/Kconfig
+++ b/nuttx/configs/z16f2800100zcog/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/z80sim/Kconfig b/nuttx/configs/z80sim/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/z80sim/Kconfig
+++ b/nuttx/configs/z80sim/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/z8encore000zco/Kconfig b/nuttx/configs/z8encore000zco/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/z8encore000zco/Kconfig
+++ b/nuttx/configs/z8encore000zco/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/configs/z8f64200100kit/Kconfig b/nuttx/configs/z8f64200100kit/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/configs/z8f64200100kit/Kconfig
+++ b/nuttx/configs/z8f64200100kit/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/Kconfig b/nuttx/drivers/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/Kconfig
+++ b/nuttx/drivers/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/analog/Kconfig b/nuttx/drivers/analog/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/analog/Kconfig
+++ b/nuttx/drivers/analog/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/bch/Kconfig b/nuttx/drivers/bch/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/bch/Kconfig
+++ b/nuttx/drivers/bch/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/input/Kconfig b/nuttx/drivers/input/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/input/Kconfig
+++ b/nuttx/drivers/input/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/lcd/Kconfig b/nuttx/drivers/lcd/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/lcd/Kconfig
+++ b/nuttx/drivers/lcd/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/mmcsd/Kconfig b/nuttx/drivers/mmcsd/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/mmcsd/Kconfig
+++ b/nuttx/drivers/mmcsd/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/mtd/Kconfig b/nuttx/drivers/mtd/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/mtd/Kconfig
+++ b/nuttx/drivers/mtd/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/net/Kconfig b/nuttx/drivers/net/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/net/Kconfig
+++ b/nuttx/drivers/net/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/pipes/Kconfig b/nuttx/drivers/pipes/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/pipes/Kconfig
+++ b/nuttx/drivers/pipes/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/power/Kconfig b/nuttx/drivers/power/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/power/Kconfig
+++ b/nuttx/drivers/power/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/sensors/Kconfig b/nuttx/drivers/sensors/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/sensors/Kconfig
+++ b/nuttx/drivers/sensors/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/sercomm/Kconfig b/nuttx/drivers/sercomm/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/sercomm/Kconfig
+++ b/nuttx/drivers/sercomm/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/serial/Kconfig b/nuttx/drivers/serial/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/serial/Kconfig
+++ b/nuttx/drivers/serial/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/usbdev/Kconfig b/nuttx/drivers/usbdev/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/usbdev/Kconfig
+++ b/nuttx/drivers/usbdev/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/usbhost/Kconfig b/nuttx/drivers/usbhost/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/usbhost/Kconfig
+++ b/nuttx/drivers/usbhost/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/wireless/Kconfig b/nuttx/drivers/wireless/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/wireless/Kconfig
+++ b/nuttx/drivers/wireless/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/drivers/wireless/cc1101/Kconfig b/nuttx/drivers/wireless/cc1101/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/drivers/wireless/cc1101/Kconfig
+++ b/nuttx/drivers/wireless/cc1101/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/fs/Kconfig b/nuttx/fs/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/fs/Kconfig
+++ b/nuttx/fs/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/fs/fat/Kconfig b/nuttx/fs/fat/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/fs/fat/Kconfig
+++ b/nuttx/fs/fat/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/fs/mmap/Kconfig b/nuttx/fs/mmap/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/fs/mmap/Kconfig
+++ b/nuttx/fs/mmap/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/fs/nfs/Kconfig b/nuttx/fs/nfs/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/fs/nfs/Kconfig
+++ b/nuttx/fs/nfs/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/fs/nxffs/Kconfig b/nuttx/fs/nxffs/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/fs/nxffs/Kconfig
+++ b/nuttx/fs/nxffs/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/fs/romfs/Kconfig b/nuttx/fs/romfs/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/fs/romfs/Kconfig
+++ b/nuttx/fs/romfs/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/graphics/Kconfig b/nuttx/graphics/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/graphics/Kconfig
+++ b/nuttx/graphics/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/lib/Kconfig b/nuttx/lib/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/lib/Kconfig
+++ b/nuttx/lib/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/libxx/Kconfig b/nuttx/libxx/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/libxx/Kconfig
+++ b/nuttx/libxx/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/mm/Kconfig b/nuttx/mm/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/mm/Kconfig
+++ b/nuttx/mm/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/net/Kconfig b/nuttx/net/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/net/Kconfig
+++ b/nuttx/net/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/sched/Kconfig b/nuttx/sched/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/sched/Kconfig
+++ b/nuttx/sched/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#
diff --git a/nuttx/syscall/Kconfig b/nuttx/syscall/Kconfig
index 887f91bb1..ae2bf3130 100644
--- a/nuttx/syscall/Kconfig
+++ b/nuttx/syscall/Kconfig
@@ -1,4 +1,4 @@
#
# For a description of the syntax of this configuration file,
-# see Documentation/kbuild/kconfig-language.txt.
+# see misc/tools/kconfig-language.txt.
#