Patchwork [v4,3/5] linux: use BR2_LINUX_KERNEL_LATEST_VERSION as option name

login
register
mail settings
Submitter Fabio Porcedda
Date May 6, 2013, 2:10 p.m.
Message ID <1367849457-31738-4-git-send-email-fabio.porcedda@gmail.com>
Download mbox | patch
Permalink /patch/241680/
State Accepted
Commit c719ded2b94e2d53988d592c9229ad3544e5168e
Headers show

Comments

Fabio Porcedda - May 6, 2013, 2:10 p.m.
Use a option name that doesn't change for every new 3.x version.
It's easier to maintain and consistent with barebox.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
---
 linux/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Peter Korsgaard - May 6, 2013, 2:32 p.m.
>>>>> "Fabio" == Fabio Porcedda <fabio.porcedda@gmail.com> writes:

 Fabio> Use a option name that doesn't change for every new 3.x version.
 Fabio> It's easier to maintain and consistent with barebox.

Committed, thanks.

Patch

diff --git a/linux/Config.in b/linux/Config.in
index 3ec687f..586db47 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -20,7 +20,7 @@  if BR2_LINUX_KERNEL
 choice
 	prompt "Kernel version"
 
-config BR2_LINUX_KERNEL_3_9
+config BR2_LINUX_KERNEL_LATEST_VERSION
 	bool "3.9"
 
 config BR2_LINUX_KERNEL_SAME_AS_HEADERS
@@ -76,7 +76,7 @@  config BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION
 
 config BR2_LINUX_KERNEL_VERSION
 	string
-	default "3.9" if BR2_LINUX_KERNEL_3_9
+	default "3.9" if BR2_LINUX_KERNEL_LATEST_VERSION
 	default BR2_DEFAULT_KERNEL_HEADERS if BR2_LINUX_KERNEL_SAME_AS_HEADERS
 	default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE if BR2_LINUX_KERNEL_CUSTOM_VERSION
 	default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL