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