summaryrefslogtreecommitdiff
path: root/target/device/Atmel/arch-arm/Config.in.linux.patches
diff options
context:
space:
mode:
Diffstat (limited to 'target/device/Atmel/arch-arm/Config.in.linux.patches')
-rw-r--r--target/device/Atmel/arch-arm/Config.in.linux.patches58
1 files changed, 58 insertions, 0 deletions
diff --git a/target/device/Atmel/arch-arm/Config.in.linux.patches b/target/device/Atmel/arch-arm/Config.in.linux.patches
new file mode 100644
index 000000000..48f754539
--- /dev/null
+++ b/target/device/Atmel/arch-arm/Config.in.linux.patches
@@ -0,0 +1,58 @@
+choice
+ prompt "Add AT91 specific patches"
+ depends on BR2_KERNEL_ARCH_PATCH_ENABLED
+ depends on BR2_TARGET_ATMEL && BR2_arm
+ default BR2_ARCH_AT91_2_6_24 if BR2_LINUX_2_6_24
+ default BR2_ARCH_AT91_2_6_24 if BR2_LINUX_2_6_23
+ default BR2_ARCH_AT91_2_6_22_1 if BR2_LINUX_2_6_22_1
+ default BR2_ARCH_AT91_2_6_21_5 if BR2_LINUX_2_6_21 || BR2_LINUX_2_6_21_5
+ default BR2_ARCH_AT91_2_6_21_1 if BR2_LINUX_2_6_21_1
+ default BR2_ARCH_AT91_2_6_20_4 if BR2_LINUX_2_6_20 || BR2_LINUX_2_6_20_4
+ default BR2_ARCH_AT91_2_6_24
+ help
+ Select a patch to add to the Linux kernel
+
+config BR2_ARCH_AT91_2_6_24
+ bool "2.6.24"
+ help
+ Apply the at91 linux-2.6.24 patches"
+
+config BR2_ARCH_AT91_2_6_22_1
+ bool "2.6.22.1"
+ help
+ Apply the at91 linux-2.6.22.1 patches"
+
+config BR2_ARCH_AT91_2_6_21_5
+ bool "2.6.21.5"
+ help
+ Apply the at91 linux-2.6.21.5 patches"
+
+config BR2_ARCH_AT91_2_6_21_1
+ bool "2.6.21.1"
+ help
+ Apply the at91 linux-2.6.21.1 patches"
+
+config BR2_ARCH_AT91_2_6_20_4
+ bool "2.6.20.4"
+ help
+ Apply the at91 linux-2.6.20.4 patches"
+
+endchoice
+
+config BR2_KERNEL_ARCH_PATCH_VERSION
+ string
+ depends on BR2_KERNEL_ARCH_PATCH_ENABLED
+ depends on BR2_TARGET_ATMEL && BR2_arm
+ default "2.6.24" if BR2_ARCH_AT91_2_6_24
+ default "2.6.22.1" if BR2_ARCH_AT91_2_6_22_1
+ default "2.6.21.5" if BR2_ARCH_AT91_2_6_21_5
+ default "2.6.21.1" if BR2_ARCH_AT91_2_6_21_1
+ default "2.6.20.4" if BR2_ARCH_AT91_2_6_20_4
+
+config BR2_KERNEL_ARCH_PATCH_DIR
+ string
+ default "target/device/Atmel/arch-arm/kernel-patches-$(BR2_KERNEL_ARCH_PATCH_VERSION)"
+
+
+
+