summaryrefslogtreecommitdiffstats
path: root/target/device/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/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/Config.in.linux.patches')
-rw-r--r--target/device/Config.in.linux.patches14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/device/Config.in.linux.patches b/target/device/Config.in.linux.patches
new file mode 100644
index 000000000..65c17d7a3
--- /dev/null
+++ b/target/device/Config.in.linux.patches
@@ -0,0 +1,14 @@
+menuconfig BR2_KERNEL_ARCH_PATCH_ENABLED
+ bool "Add ARCH specific patch"
+ depends on BR2_PACKAGE_LINUX
+ depends on !BR2_KERNEL_PREPATCHED
+ default y if BR2_avr32
+ default y if BR2_TARGET_ATMEL && BR2_arm
+ default n
+
+if BR2_KERNEL_ARCH_PATCH_ENABLED
+
+source "target/device/Atmel/Config.in.linux.patches"
+
+endif
+