فهرست منبع

Allow use of 2.6.22.1 kernel headers

Ulf Samuelsson 18 سال پیش
والد
کامیت
f60c51c436
1فایلهای تغییر یافته به همراه15 افزوده شده و 10 حذف شده
  1. 15 10
      toolchain/kernel-headers/Config.in

+ 15 - 10
toolchain/kernel-headers/Config.in

@@ -13,45 +13,49 @@ choice
 	  the kernel you intend to use on your target system.
 	  the kernel you intend to use on your target system.
 
 
 	config BR2_KERNEL_HEADERS_2_4_25
 	config BR2_KERNEL_HEADERS_2_4_25
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "Linux 2.4.25 kernel headers"
 		bool "Linux 2.4.25 kernel headers"
 
 
 	config BR2_KERNEL_HEADERS_2_4_27
 	config BR2_KERNEL_HEADERS_2_4_27
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "Linux 2.4.27 kernel headers"
 		bool "Linux 2.4.27 kernel headers"
 
 
 	config BR2_KERNEL_HEADERS_2_4_29
 	config BR2_KERNEL_HEADERS_2_4_29
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "Linux 2.4.29 kernel headers"
 		bool "Linux 2.4.29 kernel headers"
 
 
 	config BR2_KERNEL_HEADERS_2_4_31
 	config BR2_KERNEL_HEADERS_2_4_31
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "Linux 2.4.31 kernel headers"
 		bool "Linux 2.4.31 kernel headers"
 
 
 	config BR2_KERNEL_HEADERS_2_6_9
 	config BR2_KERNEL_HEADERS_2_6_9
-		depends BR2_DEPRECATED
+		depends !BR2_avr32 && BR2_DEPRECATED
 		bool "Linux 2.6.9 kernel headers"
 		bool "Linux 2.6.9 kernel headers"
 
 
 	config BR2_KERNEL_HEADERS_2_6_11
 	config BR2_KERNEL_HEADERS_2_6_11
-		depends BR2_DEPRECATED
+		depends !BR2_avr32 && BR2_DEPRECATED
 		bool "Linux 2.6.11 kernel headers"
 		bool "Linux 2.6.11 kernel headers"
 
 
 	config BR2_KERNEL_HEADERS_2_6_12
 	config BR2_KERNEL_HEADERS_2_6_12
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "Linux 2.6.12 kernel headers"
 		bool "Linux 2.6.12 kernel headers"
 
 
 	config BR2_KERNEL_HEADERS_2_6_19_2
 	config BR2_KERNEL_HEADERS_2_6_19_2
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "Linux 2.6.19.2 kernel headers"
 		bool "Linux 2.6.19.2 kernel headers"
 
 
 	config BR2_KERNEL_HEADERS_2_6_20
 	config BR2_KERNEL_HEADERS_2_6_20
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "Linux 2.6.20 kernel headers"
 		bool "Linux 2.6.20 kernel headers"
 
 
 	config BR2_KERNEL_HEADERS_2_6_21
 	config BR2_KERNEL_HEADERS_2_6_21
-		depends !BR2_nios2
+		depends !BR2_avr32 && !BR2_nios2
 		bool "Linux 2.6.21.x kernel headers"
 		bool "Linux 2.6.21.x kernel headers"
 
 
+	config BR2_KERNEL_HEADERS_2_6_22
+		depends !BR2_nios2
+		bool "Linux 2.6.22.x kernel headers"
+
 endchoice
 endchoice
 
 
 config BR2_DEFAULT_KERNEL_HEADERS
 config BR2_DEFAULT_KERNEL_HEADERS
@@ -66,3 +70,4 @@ config BR2_DEFAULT_KERNEL_HEADERS
 	default "2.6.19.2"  if BR2_KERNEL_HEADERS_2_6_19_2
 	default "2.6.19.2"  if BR2_KERNEL_HEADERS_2_6_19_2
 	default "2.6.20.4"  if BR2_KERNEL_HEADERS_2_6_20
 	default "2.6.20.4"  if BR2_KERNEL_HEADERS_2_6_20
 	default "2.6.21.5"  if BR2_KERNEL_HEADERS_2_6_21
 	default "2.6.21.5"  if BR2_KERNEL_HEADERS_2_6_21
+	default "2.6.22.1"  if BR2_KERNEL_HEADERS_2_6_22