1#
2# Makefile for the linux kernel.
3#
4ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
5asflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
6
7obj-y		:= soc.o
8
9obj-$(CONFIG_SOC_AT91SAM9)	+= sam9_smc.o
10
11# CPU-specific support
12obj-$(CONFIG_SOC_AT91RM9200)	+= at91rm9200.o
13obj-$(CONFIG_SOC_AT91SAM9)	+= at91sam9.o
14obj-$(CONFIG_SOC_SAMA5)		+= sama5.o
15
16# Power Management
17obj-$(CONFIG_PM)		+= pm.o
18obj-$(CONFIG_PM)		+= pm_suspend.o
19
20ifeq ($(CONFIG_CPU_V7),y)
21AFLAGS_pm_suspend.o := -march=armv7-a
22endif
23ifeq ($(CONFIG_PM_DEBUG),y)
24CFLAGS_pm.o += -DDEBUG
25endif
26