2010-02-05 11:14:49 +00:00
|
|
|
#
|
|
|
|
# Makefile for the linux kernel.
|
|
|
|
#
|
|
|
|
|
|
|
|
# Common objects
|
2013-07-17 20:30:59 +00:00
|
|
|
obj-y := timer.o console.o
|
2010-02-05 11:14:49 +00:00
|
|
|
|
|
|
|
# CPU objects
|
2014-08-25 03:04:01 +00:00
|
|
|
obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o intc-sh7372.o pm-sh7372.o
|
|
|
|
obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o intc-sh73a0.o pm-sh73a0.o
|
2013-07-17 20:30:59 +00:00
|
|
|
obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o
|
2014-08-25 03:04:01 +00:00
|
|
|
obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o pm-r8a7740.o
|
2013-07-17 20:30:59 +00:00
|
|
|
obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o
|
2014-08-25 03:03:52 +00:00
|
|
|
obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o pm-r8a7779.o
|
|
|
|
obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o pm-r8a7790.o
|
|
|
|
obj-$(CONFIG_ARCH_R8A7791) += setup-r8a7791.o pm-r8a7791.o
|
2014-09-04 14:02:28 +00:00
|
|
|
obj-$(CONFIG_ARCH_R8A7794) += setup-r8a7794.o
|
2013-07-17 20:30:59 +00:00
|
|
|
obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o
|
2013-09-18 20:11:11 +00:00
|
|
|
obj-$(CONFIG_ARCH_R7S72100) += setup-r7s72100.o
|
2013-07-17 20:30:59 +00:00
|
|
|
|
|
|
|
# Clock objects
|
2014-03-12 23:36:17 +00:00
|
|
|
ifndef CONFIG_COMMON_CLK
|
2014-10-26 13:07:32 +00:00
|
|
|
obj-y += clock.o
|
2013-07-17 20:30:59 +00:00
|
|
|
obj-$(CONFIG_ARCH_SH7372) += clock-sh7372.o
|
|
|
|
obj-$(CONFIG_ARCH_SH73A0) += clock-sh73a0.o
|
|
|
|
obj-$(CONFIG_ARCH_R8A73A4) += clock-r8a73a4.o
|
|
|
|
obj-$(CONFIG_ARCH_R8A7740) += clock-r8a7740.o
|
|
|
|
obj-$(CONFIG_ARCH_R8A7778) += clock-r8a7778.o
|
|
|
|
obj-$(CONFIG_ARCH_R8A7779) += clock-r8a7779.o
|
|
|
|
endif
|
2010-02-05 11:14:49 +00:00
|
|
|
|
2014-06-06 07:20:10 +00:00
|
|
|
# CPU reset vector handling objects
|
|
|
|
cpu-y := platsmp.o headsmp.o
|
2014-08-25 03:03:43 +00:00
|
|
|
|
|
|
|
# Shared SoC family objects
|
|
|
|
obj-$(CONFIG_ARCH_RCAR_GEN2) += setup-rcar-gen2.o platsmp-apmu.o $(cpu-y)
|
2014-11-11 15:36:50 +00:00
|
|
|
CFLAGS_setup-rcar-gen2.o += -march=armv7-a
|
2014-06-06 07:20:10 +00:00
|
|
|
|
2010-12-14 07:56:55 +00:00
|
|
|
# SMP objects
|
2014-06-06 07:20:10 +00:00
|
|
|
smp-y := $(cpu-y)
|
2013-07-31 07:07:21 +00:00
|
|
|
smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o headsmp-scu.o platsmp-scu.o
|
2013-07-31 07:07:31 +00:00
|
|
|
smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o platsmp-scu.o
|
2014-06-06 07:21:03 +00:00
|
|
|
smp-$(CONFIG_ARCH_R8A7790) += smp-r8a7790.o
|
2014-06-06 07:21:19 +00:00
|
|
|
smp-$(CONFIG_ARCH_R8A7791) += smp-r8a7791.o
|
2013-07-31 07:07:40 +00:00
|
|
|
smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o platsmp-scu.o
|
2010-12-14 07:56:55 +00:00
|
|
|
|
2011-04-28 17:23:28 +00:00
|
|
|
# PM objects
|
|
|
|
obj-$(CONFIG_SUSPEND) += suspend.o
|
2011-04-28 17:36:07 +00:00
|
|
|
obj-$(CONFIG_CPU_IDLE) += cpuidle.o
|
2014-06-03 12:02:45 +00:00
|
|
|
obj-$(CONFIG_CPU_FREQ) += cpufreq.o
|
2014-08-25 03:03:52 +00:00
|
|
|
obj-$(CONFIG_PM_RCAR) += pm-rcar.o
|
2014-08-25 03:04:01 +00:00
|
|
|
obj-$(CONFIG_PM_RMOBILE) += pm-rmobile.o
|
2011-04-28 17:23:28 +00:00
|
|
|
|
2014-08-25 03:04:01 +00:00
|
|
|
# special sh7372 handling for IRQ objects and low level sleep code
|
|
|
|
obj-$(CONFIG_ARCH_SH7372) += entry-intc.o sleep-sh7372.o
|
2011-04-28 17:23:28 +00:00
|
|
|
|
2010-02-05 11:14:49 +00:00
|
|
|
# Board objects
|
2013-10-01 10:33:15 +00:00
|
|
|
ifdef CONFIG_ARCH_SHMOBILE_MULTI
|
2014-05-15 11:32:05 +00:00
|
|
|
obj-$(CONFIG_MACH_MARZEN) += board-marzen-reference.o
|
2013-10-01 10:33:15 +00:00
|
|
|
else
|
2013-03-29 08:00:02 +00:00
|
|
|
obj-$(CONFIG_MACH_APE6EVM) += board-ape6evm.o
|
2013-07-08 16:04:57 +00:00
|
|
|
obj-$(CONFIG_MACH_APE6EVM_REFERENCE) += board-ape6evm-reference.o
|
2010-11-29 02:21:21 +00:00
|
|
|
obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o
|
2013-03-21 10:03:38 +00:00
|
|
|
obj-$(CONFIG_MACH_BOCKW) += board-bockw.o
|
2013-07-24 07:36:51 +00:00
|
|
|
obj-$(CONFIG_MACH_BOCKW_REFERENCE) += board-bockw-reference.o
|
2011-12-13 16:36:12 +00:00
|
|
|
obj-$(CONFIG_MACH_MARZEN) += board-marzen.o
|
2012-04-06 08:28:59 +00:00
|
|
|
obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o
|
2012-04-11 03:57:31 +00:00
|
|
|
obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o
|
2012-11-21 15:34:25 +00:00
|
|
|
obj-$(CONFIG_MACH_KZM9G_REFERENCE) += board-kzm9g-reference.o
|
2013-10-01 10:33:15 +00:00
|
|
|
endif
|
2010-12-14 07:15:35 +00:00
|
|
|
|
|
|
|
# Framework support
|
2010-12-14 07:56:55 +00:00
|
|
|
obj-$(CONFIG_SMP) += $(smp-y)
|