added mtd driver
[linux-2.4.git] / drivers / acorn / char / Makefile
1 #
2 # Makefile for the kernel character device drivers.
3 #
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
7 #
8 # Note 2! The CFLAGS definitions are now inherited from the
9 # parent makes..
10 #
11
12 O_TARGET        := acorn-char.o
13
14 # Object file lists.
15
16 obj-y           :=
17 obj-m           :=
18 obj-n           :=
19 obj-            :=
20
21 # All the objects that export symbols.
22 export-objs     := mouse_rpc.o
23
24 obj-arc         := keyb_arc.o
25 obj-rpc         := keyb_ps2.o
26 obj-clps7500    := keyb_ps2.o defkeymap-acorn.o
27 obj-riscstation := keyb_ps2.o defkeymap-acorn.o
28
29 obj-$(CONFIG_7K5MOUSE)          += mouse_ps2.o
30 obj-$(CONFIG_RPCMOUSE)          += mouse_rpc.o
31 obj-$(CONFIG_ATOMWIDE_SERIAL)   += serial-atomwide.o
32 obj-$(CONFIG_DUALSP_SERIAL)     += serial-dualsp.o
33 obj-$(CONFIG_ARCH_ACORN)        += defkeymap-acorn.o i2c.o pcf8583.o
34 obj-$(CONFIG_L7200_KEYB)        += defkeymap-l7200.o keyb_l7200.o
35
36 # Do the i2c and rtc last
37 obj-y           += $(obj-$(MACHINE))
38
39 include $(TOPDIR)/Rules.make
40
41 %.c: %.map
42         loadkeys --mktable $< > $@