summaryrefslogtreecommitdiffstats
path: root/drivers/acorn/char/Makefile
blob: d4658724ad4b5b6d207a63699815a6023710c17e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# Makefile for the kernel character device drivers.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definitions are now inherited from the
# parent makes..
#

O_TARGET 	:= acorn-char.o

O_OBJS		:=
OX_OBJS		:=
M_OBJS		:=
MX_OBJS		:=

# Object file lists.

obj-y   	:=
obj-m		:=
obj-n		:=
obj-		:=

# All the objects that export symbols.
export-objs	:= mouse_rpc.o

obj-arc		:= keyb_arc.o
obj-a5k		:= keyb_arc.o
obj-rpc		:= keyb_ps2.o

obj-$(CONFIG_RPCMOUSE)		+= mouse_rpc.o
obj-$(CONFIG_ATOMWIDE_SERIAL)	+= serial-atomwide.o
obj-$(CONFIG_DUALSP_SERIAL)	+= serial-dualsp.o
obj-$(CONFIG_ARCH_ACORN)	+= defkeymap-acorn.o

# Do the i2c and rtc last
obj-y		+= $(obj-$(MACHINE)) i2c.o pcf8583.o

O_OBJS		:= $(filter-out $(export-objs), $(obj-y))
OX_OBJS		:= $(filter     $(export-objs), $(obj-y))
M_OBJS		:= $(sort $(filter-out $(export-objs), $(obj-m)))
MX_OBJS		:= $(sort $(filter     $(export-objs), $(obj-m)))

include $(TOPDIR)/Rules.make