xref: /openbmc/linux/arch/arm/mach-at91/Makefile (revision a2faac39)
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
10*0c9fd821SClément Légerobj-$(CONFIG_SOC_SAMA5)		+= sama5.o sam_secure.o
119d464cc5SEugen Hristevobj-$(CONFIG_SOC_SAMA7)		+= sama7.o
122d4c44e9SSzemző Andrásobj-$(CONFIG_SOC_SAMV7)		+= samv7.o
138f4b4794SLudovic Desroches
14b7b272a8SAndrew Victor# Power Management
15b2f06274SAlexandre Belloniobj-$(CONFIG_ATMEL_PM)		+= pm.o pm_suspend.o
169d041268SAndrew Victor
179d041268SAndrew Victorifeq ($(CONFIG_PM_DEBUG),y)
189d041268SAndrew VictorCFLAGS_pm.o += -DDEBUG
199d041268SAndrew Victorendif
2065cc1a59SAlexandre Belloni
219fac85a6SMasahiro Yamada$(obj)/pm_data-offsets.h: $(obj)/pm_data-offsets.s FORCE
2265cc1a59SAlexandre Belloni	$(call filechk,offsets,__PM_DATA_OFFSETS_H__)
2365cc1a59SAlexandre Belloni
249fac85a6SMasahiro Yamada$(obj)/pm_suspend.o: $(obj)/pm_data-offsets.h
252c667d77SMasahiro Yamada
262c667d77SMasahiro Yamadatargets += pm_data-offsets.s
279fac85a6SMasahiro Yamadaclean-files += pm_data-offsets.h
28