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