1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 29d041268SAndrew Victor# 39d041268SAndrew Victor# Makefile for the linux kernel. 49d041268SAndrew Victor# 59d041268SAndrew Victor 69d041268SAndrew Victor# CPU-specific support 7b53cdd03SAlexandre Belloniobj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o 8cac01723SNicolas Ferreobj-$(CONFIG_SOC_AT91SAM9) += at91sam9.o 9eb0df9b7SClaudiu Bezneaobj-$(CONFIG_SOC_SAM9X60) += sam9x60.o 10cac01723SNicolas Ferreobj-$(CONFIG_SOC_SAMA5) += sama5.o 112d4c44e9SSzemző Andrásobj-$(CONFIG_SOC_SAMV7) += samv7.o 128f4b4794SLudovic Desroches 13b7b272a8SAndrew Victor# Power Management 14b2f06274SAlexandre Belloniobj-$(CONFIG_ATMEL_PM) += pm.o pm_suspend.o 159d041268SAndrew Victor 16176a1b3dSAlexandre Belloniifeq ($(CONFIG_CPU_V7),y) 17176a1b3dSAlexandre BelloniAFLAGS_pm_suspend.o := -march=armv7-a 18176a1b3dSAlexandre Belloniendif 199d041268SAndrew Victorifeq ($(CONFIG_PM_DEBUG),y) 209d041268SAndrew VictorCFLAGS_pm.o += -DDEBUG 219d041268SAndrew Victorendif 2265cc1a59SAlexandre Belloni 239fac85a6SMasahiro Yamada$(obj)/pm_data-offsets.h: $(obj)/pm_data-offsets.s FORCE 2465cc1a59SAlexandre Belloni $(call filechk,offsets,__PM_DATA_OFFSETS_H__) 2565cc1a59SAlexandre Belloni 269fac85a6SMasahiro Yamada$(obj)/pm_suspend.o: $(obj)/pm_data-offsets.h 272c667d77SMasahiro Yamada 282c667d77SMasahiro Yamadatargets += pm_data-offsets.s 299fac85a6SMasahiro Yamadaclean-files += pm_data-offsets.h 30