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 12O_TARGET := acorn-char.o 13 14# Object file lists. 15 16obj-y := 17obj-m := 18obj-n := 19obj- := 20 21# All the objects that export symbols. 22export-objs := mouse_rpc.o 23 24obj-arc := keyb_arc.o 25obj-rpc := keyb_ps2.o 26obj-clps7500 := keyb_ps2.o defkeymap-acorn.o 27 28obj-$(CONFIG_RPCMOUSE) += mouse_rpc.o 29obj-$(CONFIG_ATOMWIDE_SERIAL) += serial-atomwide.o 30obj-$(CONFIG_DUALSP_SERIAL) += serial-dualsp.o 31obj-$(CONFIG_ARCH_ACORN) += defkeymap-acorn.o i2c.o pcf8583.o 32obj-$(CONFIG_L7200_KEYB) += defkeymap-l7200.o keyb_l7200.o 33 34# Do the i2c and rtc last 35obj-y += $(obj-$(MACHINE)) 36 37include $(TOPDIR)/Rules.make 38 39%.c: %.map 40 loadkeys --mktable $< > $@ 41