summaryrefslogtreecommitdiffstats
path: root/target/device/Atmel/arch-avr32/arch-avr32.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/device/Atmel/arch-avr32/arch-avr32.mk')
-rw-r--r--target/device/Atmel/arch-avr32/arch-avr32.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/device/Atmel/arch-avr32/arch-avr32.mk b/target/device/Atmel/arch-avr32/arch-avr32.mk
new file mode 100644
index 000000000..9fb888622
--- /dev/null
+++ b/target/device/Atmel/arch-avr32/arch-avr32.mk
@@ -0,0 +1,27 @@
+ifeq ($(BR2_avr32),y)
+
+avr32.patched.ac97: $(LINUX26_DIR)/.patched.ac97
+ @echo avr32.patched.ac97
+
+avr32.patched.isi: $(LINUX26_DIR)/.patched.isi
+ @echo avr32.patched.isi
+
+avr32.patched.psif: $(LINUX26_DIR)/.patched.psif
+ @echo avr32.patched.psif
+
+
+$(LINUX26_DIR)/.patched.isi: $(LINUX26_DIR)/.patched.arch
+ toolchain/patch-kernel.sh $(LINUX26_DIR) $(BR2_KERNEL_ARCH_PATCH_DIR) \
+ linux-*-500-v4l-avr32-isi.patch.cond
+ touch $@
+
+$(LINUX26_DIR)/.patched.ac97: $(LINUX26_DIR)/.patched.arch
+ toolchain/patch-kernel.sh $(LINUX26_DIR) $(BR2_KERNEL_ARCH_PATCH_DIR) \
+ linux-*-avr32-ac97-reset.patch.cond
+ touch $@
+
+$(LINUX26_DIR)/.patched.psif: $(LINUX26_DIR)/.patched.arch
+ toolchain/patch-kernel.sh $(LINUX26_DIR) $(BR2_KERNEL_ARCH_PATCH_DIR) \
+ linux-*-avr32-psif-2.patch.cond
+ touch $@
+endif