This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] kernel/linux: Allow user to manually enter Linux version


In addition to the choice list and the custom version, allow the user to
enter a free format version to pull from kernel.org (or the specified
local repo) as a standard version number.

Signed-off-by: "Andy Kennedy" <andy.kennedy@adtran.com>

---
diff -Naur a/config/kernel/linux.in b/config/kernel/linux.in
--- a/config/kernel/linux.in    2013-01-03 12:11:45.000000000 -0600
+++ b/config/kernel/linux.in    2013-01-03 12:13:11.000000000 -0600
@@ -127,6 +127,20 @@
       It is now maintained by Greg Kroah-Hartman, see this mailing list entry:
         http://marc.info/?l=linux-kernel&m=129133701916793&w=4

+config KERNEL_MANUAL
+    bool
+    prompt "Manually provide the kernel version."
+    help
+      Specify the exact kernel version you wish to use.
+
+config KERNEL_MANUAL_VER
+    string
+    prompt "Enter the kernel version"
+    depends on KERNEL_MANUAL
+    help
+      The version should be entered as 2.6.33 or 2.6.36.2 etc.  Do not provide
+      linux- before or .tar.bz2 after.
+
 config KERNEL_LINUX_CUSTOM
     bool
     prompt "custom tarball or directory"
@@ -163,6 +177,7 @@
     default "2.6.32.60" if KERNEL_V_2_6_32_60
     default "2.6.31.14" if KERNEL_V_2_6_31_14
     default "2.6.27.62" if KERNEL_V_2_6_27_62
+    default KERNEL_MANUAL_VER if KERNEL_MANUAL
     default "custom" if KERNEL_LINUX_CUSTOM

 endif # ! KERNEL_LINUX_USE_CUSTOM_HEADERS

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]