[Buildroot] [PATCH] linux: clarify kernel configuration entries

Vivien Didelot vivien.didelot at savoirfairelinux.com
Thu Mar 5 17:55:12 UTC 2015


Since BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE can either be a complete
.config file or a defconfig file, it can be confusing to the user
whether to choose BR2_LINUX_KERNEL_USE_DEFCONFIG or
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG.

To avoid that confusion, clarify Kconfig entry messages for in-tree
defconfig and custom (def)config files.

Signed-off-by: Vivien Didelot <vivien.didelot at savoirfairelinux.com>
---
 linux/Config.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/linux/Config.in b/linux/Config.in
index 95c847b..36d7691 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -140,10 +140,10 @@ choice
 	default BR2_LINUX_KERNEL_USE_DEFCONFIG
 
 config BR2_LINUX_KERNEL_USE_DEFCONFIG
-	bool "Using a defconfig"
+	bool "Using an in-tree defconfig file"
 
 config BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG
-	bool "Using a custom config file"
+	bool "Using a custom (def)config file"
 
 endchoice
 
@@ -161,6 +161,9 @@ config BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE
 	help
 	  Path to the kernel configuration file
 
+	  Note: this can be a defconfig file or a complete .config file,
+	  which can later be saved back with make linux-update-(def)config.
+
 #
 # Binary format
 #
-- 
2.3.1



More information about the buildroot mailing list