blob: c5bbf8bb8c0f1653ce54cbd44835eae42a12948a [file] [log] [blame]
SAN People73a59c12006-01-09 17:05:41 +00001#
2# Makefile for the linux kernel.
3#
Alexandre Belloni598e0852015-03-12 15:54:31 +01004obj-y := soc.o
SAN People73a59c12006-01-09 17:05:41 +00005
Andrew Victor8fc5ffa2006-06-29 16:06:33 +01006# CPU-specific support
Alexandre Bellonib53cdd02015-03-12 13:07:31 +01007obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o
Nicolas Ferrecac01722015-01-27 16:41:55 +01008obj-$(CONFIG_SOC_AT91SAM9) += at91sam9.o
9obj-$(CONFIG_SOC_SAMA5) += sama5.o
Ludovic Desroches8f4b4792013-03-22 13:24:12 +000010
Andrew Victorb7b272a2008-01-23 09:23:09 +010011# Power Management
12obj-$(CONFIG_PM) += pm.o
Wenyou Yang828b98f2015-03-09 11:50:29 +080013obj-$(CONFIG_PM) += pm_suspend.o
Andrew Victor5c3fddc2006-06-20 19:30:20 +010014
Alexandre Belloni176a1b32015-03-19 21:14:40 +010015ifeq ($(CONFIG_CPU_V7),y)
16AFLAGS_pm_suspend.o := -march=armv7-a
17endif
Andrew Victor5c3fddc2006-06-20 19:30:20 +010018ifeq ($(CONFIG_PM_DEBUG),y)
19CFLAGS_pm.o += -DDEBUG
20endif