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