SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
Alexandre Belloni | 598e085 | 2015-03-12 15:54:31 +0100 | [diff] [blame] | 4 | obj-y := soc.o |
SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 5 | |
Andrew Victor | 8fc5ffa | 2006-06-29 16:06:33 +0100 | [diff] [blame] | 6 | # CPU-specific support |
Alexandre Belloni | b53cdd0 | 2015-03-12 13:07:31 +0100 | [diff] [blame] | 7 | obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o |
Nicolas Ferre | cac0172 | 2015-01-27 16:41:55 +0100 | [diff] [blame] | 8 | obj-$(CONFIG_SOC_AT91SAM9) += at91sam9.o |
| 9 | obj-$(CONFIG_SOC_SAMA5) += sama5.o |
Ludovic Desroches | 8f4b479 | 2013-03-22 13:24:12 +0000 | [diff] [blame] | 10 | |
Andrew Victor | b7b272a | 2008-01-23 09:23:09 +0100 | [diff] [blame] | 11 | # Power Management |
| 12 | obj-$(CONFIG_PM) += pm.o |
Wenyou Yang | 828b98f | 2015-03-09 11:50:29 +0800 | [diff] [blame] | 13 | obj-$(CONFIG_PM) += pm_suspend.o |
Andrew Victor | 5c3fddc | 2006-06-20 19:30:20 +0100 | [diff] [blame] | 14 | |
Alexandre Belloni | 176a1b3 | 2015-03-19 21:14:40 +0100 | [diff] [blame] | 15 | ifeq ($(CONFIG_CPU_V7),y) |
| 16 | AFLAGS_pm_suspend.o := -march=armv7-a |
| 17 | endif |
Andrew Victor | 5c3fddc | 2006-06-20 19:30:20 +0100 | [diff] [blame] | 18 | ifeq ($(CONFIG_PM_DEBUG),y) |
| 19 | CFLAGS_pm.o += -DDEBUG |
| 20 | endif |