summaryrefslogtreecommitdiffstats
path: root/target/device/Atmel/arch-arm/Config.in.linux.patches
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-03-29 23:09:46 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-03-29 23:09:46 +0000
commitc659b13a2fc07188f716327364f6080e9486f3de (patch)
tree27e7d039a80625c01afa917d831057b2d684a69d /target/device/Atmel/arch-arm/Config.in.linux.patches
parent230723920abcc27128ba271d0b20428e81fc9515 (diff)
downloadbuildroot-novena-c659b13a2fc07188f716327364f6080e9486f3de.tar.gz
buildroot-novena-c659b13a2fc07188f716327364f6080e9486f3de.zip
Remove duplicate AVR32 patches, and add support for ARCH and conditional AVR32 patches
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)"
+
+
+
+