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