xref: /linux/arch/arm/mach-at91/Makefile (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
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*2488bde9SVarshini Rajendranobj-$(CONFIG_SOC_SAM9X7)	+= sam9x7.o
110c9fd821SClément Légerobj-$(CONFIG_SOC_SAMA5)		+= sama5.o sam_secure.o
129d464cc5SEugen Hristevobj-$(CONFIG_SOC_SAMA7)		+= sama7.o
132d4c44e9SSzemző Andrásobj-$(CONFIG_SOC_SAMV7)		+= samv7.o
148f4b4794SLudovic Desroches
15b7b272a8SAndrew Victor# Power Management
16b2f06274SAlexandre Belloniobj-$(CONFIG_ATMEL_PM)		+= pm.o pm_suspend.o
179d041268SAndrew Victor
189d041268SAndrew Victorifeq ($(CONFIG_PM_DEBUG),y)
199d041268SAndrew VictorCFLAGS_pm.o += -DDEBUG
209d041268SAndrew Victorendif
2165cc1a59SAlexandre Belloni
229fac85a6SMasahiro Yamada$(obj)/pm_data-offsets.h: $(obj)/pm_data-offsets.s FORCE
2365cc1a59SAlexandre Belloni	$(call filechk,offsets,__PM_DATA_OFFSETS_H__)
2465cc1a59SAlexandre Belloni
259fac85a6SMasahiro Yamada$(obj)/pm_suspend.o: $(obj)/pm_data-offsets.h
262c667d77SMasahiro Yamada
272c667d77SMasahiro Yamadatargets += pm_data-offsets.s
289fac85a6SMasahiro Yamadaclean-files += pm_data-offsets.h
29