summaryrefslogtreecommitdiffstats
path: root/target/device/Atmel/arch-avr32/arch-avr32.mk
blob: 9fb888622c592ffe52f6c059c1d25558d25c2bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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