Makefile 1.49 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2
3
4
5
6
#
# Makefile for the linux kernel.
#
#

7
8
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include

9
# Common objects
10
obj-y 					:= serial.o usb.o common.o sram.o
11
12

obj-$(CONFIG_DAVINCI_MUX)		+= mux.o
13

14
# Chip specific
15
16
17
18
obj-$(CONFIG_ARCH_DAVINCI_DM644x)       += dm644x.o devices.o
obj-$(CONFIG_ARCH_DAVINCI_DM355)        += dm355.o devices.o
obj-$(CONFIG_ARCH_DAVINCI_DM646x)       += dm646x.o devices.o
obj-$(CONFIG_ARCH_DAVINCI_DM365)	+= dm365.o devices.o
19
20
obj-$(CONFIG_ARCH_DAVINCI_DA830)	+= da830.o devices-da8xx.o usb-da8xx.o
obj-$(CONFIG_ARCH_DAVINCI_DA850)	+= da850.o devices-da8xx.o usb-da8xx.o
21

22
# Board specific
23
obj-$(CONFIG_MACH_DA8XX_DT)		+= da8xx-dt.o pdata-quirks.o
24
obj-$(CONFIG_MACH_DAVINCI_EVM)  	+= board-dm644x-evm.o
25
obj-$(CONFIG_MACH_SFFSDR)		+= board-sffsdr.o
26
obj-$(CONFIG_MACH_NEUROS_OSD2)		+= board-neuros-osd2.o
27
28
obj-$(CONFIG_MACH_DAVINCI_DM355_EVM)	+= board-dm355-evm.o
obj-$(CONFIG_MACH_DM355_LEOPARD)	+= board-dm355-leopard.o
29
obj-$(CONFIG_MACH_DAVINCI_DM6467_EVM)	+= board-dm646x-evm.o
30
obj-$(CONFIG_MACH_DAVINCI_DM365_EVM)	+= board-dm365-evm.o
31
obj-$(CONFIG_MACH_DAVINCI_DA830_EVM)	+= board-da830-evm.o
32
obj-$(CONFIG_MACH_DAVINCI_DA850_EVM)	+= board-da850-evm.o
33
obj-$(CONFIG_MACH_MITYOMAPL138)		+= board-mityomapl138.o
34
obj-$(CONFIG_MACH_OMAPL138_HAWKBOARD)	+= board-omapl138-hawk.o
35
36

# Power Management
Sekhar Nori's avatar
Sekhar Nori committed
37
obj-$(CONFIG_CPU_IDLE)			+= cpuidle.o
38
obj-$(CONFIG_HAVE_CLK)			+= pm_domain.o
39
40
41
ifeq ($(CONFIG_SUSPEND),y)
obj-$(CONFIG_ARCH_DAVINCI_DA850)	+= pm.o sleep.o
endif