Linux 5.6.13
[linux/fpc-iii.git] / arch / arm / mach-at91 / Makefile
blobf565490f1b70ba396219a1c0bbc426ce857fdc2b
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the linux kernel.
6 # CPU-specific support
7 obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o
8 obj-$(CONFIG_SOC_AT91SAM9) += at91sam9.o
9 obj-$(CONFIG_SOC_SAM9X60) += sam9x60.o
10 obj-$(CONFIG_SOC_SAMA5) += sama5.o
11 obj-$(CONFIG_SOC_SAMV7) += samv7.o
13 # Power Management
14 obj-$(CONFIG_ATMEL_PM) += pm.o pm_suspend.o
16 ifeq ($(CONFIG_CPU_V7),y)
17 AFLAGS_pm_suspend.o := -march=armv7-a
18 endif
19 ifeq ($(CONFIG_PM_DEBUG),y)
20 CFLAGS_pm.o += -DDEBUG
21 endif
23 $(obj)/pm_data-offsets.h: $(obj)/pm_data-offsets.s FORCE
24 $(call filechk,offsets,__PM_DATA_OFFSETS_H__)
26 $(obj)/pm_suspend.o: $(obj)/pm_data-offsets.h
28 targets += pm_data-offsets.s
29 clean-files += pm_data-offsets.h