Skip to contentSkip to conversation

linux: clarify kernel configuration entries

PATCH New Vivien Didelot 3 participants 3 messages Mar 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux: clarify kernel configuration entries

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.

---
 linux/Config.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
linux/Config.in +5 -2
index 95c847b..36d7691 100644
@@ -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
 #
Signature · 1 line
2.3.1
#1 lore raw

PATCH 1/1 linux: clarify kernel configuration entries

Vivien, Thomas, All,

On 2015-03-05 12:55 -0500, Vivien Didelot spake thusly:

Quoted 9 lines

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.

Regards,
Yann E. MORIN.

Quoted 38 lines
---
 linux/Config.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
linux/Config.in +5 -2
index 95c847b..36d7691 100644
@@ -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
 #
Signature · 6 lines
2.3.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 linux: clarify kernel configuration entries

In reply to Vivien Didelot

Dear Vivien Didelot,

Quoted 9 lines · Vivien Didelot

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.

Applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com