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_SAM9X7) += sam9x7.o 11obj-$(CONFIG_SOC_SAMA5) += sama5.o sam_secure.o 12obj-$(CONFIG_SOC_SAMA7) += sama7.o 13obj-$(CONFIG_SOC_SAMV7) += samv7.o 14 15# Power Management 16obj-$(CONFIG_ATMEL_PM) += pm.o pm_suspend.o 17 18ifeq ($(CONFIG_PM_DEBUG),y) 19CFLAGS_pm.o += -DDEBUG 20endif 21 22$(obj)/pm_data-offsets.h: $(obj)/pm_data-offsets.s FORCE 23 $(call filechk,offsets,__PM_DATA_OFFSETS_H__) 24 25$(obj)/pm_suspend.o: $(obj)/pm_data-offsets.h 26 27targets += pm_data-offsets.s 28clean-files += pm_data-offsets.h 29