Makefile (750B)
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_CPU_V7),y) 18AFLAGS_pm_suspend.o := -march=armv7-a 19endif 20ifeq ($(CONFIG_PM_DEBUG),y) 21CFLAGS_pm.o += -DDEBUG 22endif 23 24$(obj)/pm_data-offsets.h: $(obj)/pm_data-offsets.s FORCE 25 $(call filechk,offsets,__PM_DATA_OFFSETS_H__) 26 27$(obj)/pm_suspend.o: $(obj)/pm_data-offsets.h 28 29targets += pm_data-offsets.s 30clean-files += pm_data-offsets.h