• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6# CPU-specific support
7obj-$(CONFIG_SOC_AT91RM9200)	+= at91rm9200.o
8obj-$(CONFIG_SOC_AT91SAM9)	+= at91sam9.o
9obj-$(CONFIG_SOC_SAM9X60)	+= sam9x60.o
10obj-$(CONFIG_SOC_SAMA5)		+= sama5.o
11obj-$(CONFIG_SOC_SAMV7)		+= samv7.o
12
13# Power Management
14obj-$(CONFIG_ATMEL_PM)		+= pm.o pm_suspend.o
15
16ifeq ($(CONFIG_CPU_V7),y)
17AFLAGS_pm_suspend.o := -march=armv7-a
18endif
19ifeq ($(CONFIG_PM_DEBUG),y)
20CFLAGS_pm.o += -DDEBUG
21endif
22
23$(obj)/pm_data-offsets.h: $(obj)/pm_data-offsets.s FORCE
24	$(call filechk,offsets,__PM_DATA_OFFSETS_H__)
25
26$(obj)/pm_suspend.o: $(obj)/pm_data-offsets.h
27
28targets += pm_data-offsets.s
29clean-files += pm_data-offsets.h
30