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

See the CrossGCC FAQ 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]

suggested patch for prompting for kernel version instead of using a static list


Attached is a patch to crosstool-ng v.1.3.2 which will prompt for a
kernel version to be used instead of a static list,

Best regards,
Stefan Hallas Andersen
Cisco Systems Inc.
> 
--- a/config/kernel/linux.in	2008-11-13 14:19:50.000000000 -0600
+++ b/config/kernel/linux.in	2009-03-31 23:52:07.000000000 -0500
@@ -25,146 +25,9 @@
       If you are in doubt that installed headers are buggy, say 'Y'
       here to have an extra check passed onto the headers.
 
-choice
-    bool
-    prompt "Linux kernel version"
-
-config KERNEL_V_2_6_18_8
-    bool
-    prompt "2.6.18.8 (OBSOLETE)"
-    depends on OBSOLETE
-
-config KERNEL_V_2_6_19_7
-    bool
-    prompt "2.6.19.7 (OBSOLETE)"
-    depends on OBSOLETE
-
-config KERNEL_V_2_6_20_21
-    bool
-    prompt "2.6.20.21 (OBSOLETE)"
-    depends on OBSOLETE
-
-config KERNEL_V_2_6_21_7
-    bool
-    prompt "2.6.21.7 (OBSOLETE)"
-    depends on OBSOLETE
-
-config KERNEL_V_2_6_22_19
-    bool
-    prompt "2.6.22.19 (OBSOLETE)"
-    depends on OBSOLETE
-
-config KERNEL_V_2_6_23_17
-    bool
-    prompt "2.6.23.17 (OBSOLETE)"
-    depends on OBSOLETE
-
-config KERNEL_V_2_6_24_7
-    bool
-    prompt "2.6.24.7 (OBSOLETE)"
-    depends on OBSOLETE
-
-config KERNEL_V_2_6_25_20
-    bool
-    prompt "2.6.25.20 (OBSOLETE)"
-    depends on OBSOLETE
-
-config KERNEL_V_2_6_26
-    bool
-    prompt "2.6.26"
-
-config KERNEL_V_2_6_26_1
-    bool
-    prompt "2.6.26.1"
-
-config KERNEL_V_2_6_26_2
-    bool
-    prompt "2.6.26.2"
-
-config KERNEL_V_2_6_26_3
-    bool
-    prompt "2.6.26.3"
-
-config KERNEL_V_2_6_26_4
-    bool
-    prompt "2.6.26.4"
-
-config KERNEL_V_2_6_26_5
-    bool
-    prompt "2.6.26.5"
-
-config KERNEL_V_2_6_26_6
-    bool
-    prompt "2.6.26.6"
-
-config KERNEL_V_2_6_26_7
-    bool
-    prompt "2.6.26.7"
-
-config KERNEL_V_2_6_26_8
-    bool
-    prompt "2.6.26.8"
-
-config KERNEL_V_2_6_27
-    bool
-    prompt "2.6.27"
-
-config KERNEL_V_2_6_27_1
-    bool
-    prompt "2.6.27.1"
-
-config KERNEL_V_2_6_27_2
-    bool
-    prompt "2.6.27.2"
-
-config KERNEL_V_2_6_27_3
-    bool
-    prompt "2.6.27.3"
-
-config KERNEL_V_2_6_27_4
-    bool
-    prompt "2.6.27.4"
-
-config KERNEL_V_2_6_27_5
-    bool
-    prompt "2.6.27.5"
-
-config KERNEL_V_2_6_27_6
-    bool
-    prompt "2.6.27.6"
-
-# CT_INSERT_VERSION_ABOVE
-# Don't remove above line!
-endchoice
-
 config KERNEL_VERSION
     string
-    default "2.6.18.8" if KERNEL_V_2_6_18_8
-    default "2.6.19.7" if KERNEL_V_2_6_19_7
-    default "2.6.20.21" if KERNEL_V_2_6_20_21
-    default "2.6.21.7" if KERNEL_V_2_6_21_7
-    default "2.6.22.19" if KERNEL_V_2_6_22_19
-    default "2.6.23.17" if KERNEL_V_2_6_23_17
-    default "2.6.24.7" if KERNEL_V_2_6_24_7
-    default "2.6.25.20" if KERNEL_V_2_6_25_20
-    default "2.6.26" if KERNEL_V_2_6_26
-    default "2.6.26.1" if KERNEL_V_2_6_26_1
-    default "2.6.26.2" if KERNEL_V_2_6_26_2
-    default "2.6.26.3" if KERNEL_V_2_6_26_3
-    default "2.6.26.4" if KERNEL_V_2_6_26_4
-    default "2.6.26.5" if KERNEL_V_2_6_26_5
-    default "2.6.26.6" if KERNEL_V_2_6_26_6
-    default "2.6.26.7" if KERNEL_V_2_6_26_7
-    default "2.6.26.8" if KERNEL_V_2_6_26_8
-    default "2.6.27" if KERNEL_V_2_6_27
-    default "2.6.27.1" if KERNEL_V_2_6_27_1
-    default "2.6.27.2" if KERNEL_V_2_6_27_2
-    default "2.6.27.3" if KERNEL_V_2_6_27_3
-    default "2.6.27.4" if KERNEL_V_2_6_27_4
-    default "2.6.27.5" if KERNEL_V_2_6_27_5
-    default "2.6.27.6" if KERNEL_V_2_6_27_6
-# CT_INSERT_VERSION_STRING_ABOVE
-# Don't remove above line!
+    prompt "Kernel Version"
 
 choice
     bool
--
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]