2006-01-10 01:05:41 +08:00
|
|
|
#
|
|
|
|
# Makefile for the linux kernel.
|
|
|
|
#
|
2015-03-14 05:57:18 +08:00
|
|
|
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
|
|
|
|
asflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
|
2006-01-10 01:05:41 +08:00
|
|
|
|
2015-03-12 22:54:31 +08:00
|
|
|
obj-y := soc.o
|
2006-01-10 01:05:41 +08:00
|
|
|
|
2013-03-22 21:24:10 +08:00
|
|
|
obj-$(CONFIG_SOC_AT91SAM9) += sam9_smc.o
|
2006-06-21 02:30:20 +08:00
|
|
|
|
2006-06-29 23:06:33 +08:00
|
|
|
# CPU-specific support
|
2015-03-12 20:07:31 +08:00
|
|
|
obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o
|
2015-01-27 23:41:55 +08:00
|
|
|
obj-$(CONFIG_SOC_AT91SAM9) += at91sam9.o
|
|
|
|
obj-$(CONFIG_SOC_SAMA5) += sama5.o
|
2013-03-22 21:24:12 +08:00
|
|
|
|
2008-01-23 16:23:09 +08:00
|
|
|
# Power Management
|
|
|
|
obj-$(CONFIG_PM) += pm.o
|
2015-03-09 11:50:29 +08:00
|
|
|
obj-$(CONFIG_PM) += pm_suspend.o
|
2006-06-21 02:30:20 +08:00
|
|
|
|
2015-03-20 04:14:40 +08:00
|
|
|
ifeq ($(CONFIG_CPU_V7),y)
|
|
|
|
AFLAGS_pm_suspend.o := -march=armv7-a
|
|
|
|
endif
|
2006-06-21 02:30:20 +08:00
|
|
|
ifeq ($(CONFIG_PM_DEBUG),y)
|
|
|
|
CFLAGS_pm.o += -DDEBUG
|
|
|
|
endif
|