1#
2# Makefile for the kernel miscellaneous SPARC device drivers.
3#
4# Dave Redman Frame Buffer tuning support.
5#
6# 7 October 2000, Bartlomiej Zolnierkiewicz <bkz@linux-ide.org>
7# Rewritten to use lists instead of if-statements.
8#
9
10O_TARGET := sunchar.o
11
12export-objs := su.o bbc_i2c.o
13obj-y := sunkbd.o sunkbdmap.o sunmouse.o sunserial.o zs.o
14
15list-multi := vfc.o bbc.o
16vfc-objs := vfc_dev.o vfc_i2c.o
17bbc-objs := bbc_i2c.o bbc_envctrl.o
18
19obj-$(CONFIG_PCI) += su.o pcikbd.o
20
21obj-$(CONFIG_SAB82532)			+= sab82532.o
22obj-$(CONFIG_ENVCTRL)			+= envctrl.o
23obj-$(CONFIG_DISPLAY7SEG)		+= display7seg.o
24obj-$(CONFIG_WATCHDOG_CP1XXX)		+= cpwatchdog.o
25obj-$(CONFIG_WATCHDOG_RIO)		+= riowatchdog.o
26obj-$(CONFIG_OBP_FLASH)			+= flash.o
27obj-$(CONFIG_SUN_OPENPROMIO)		+= openprom.o
28obj-$(CONFIG_SUN_MOSTEK_RTC)		+= rtc.o
29obj-$(CONFIG_SUN_BPP)			+= bpp.o
30obj-$(CONFIG_SUN_VIDEOPIX)		+= vfc.o
31obj-$(CONFIG_SUN_AURORA)		+= aurora.o
32obj-$(CONFIG_TADPOLE_TS102_UCTRL)	+= uctrl.o
33obj-$(CONFIG_SUN_JSFLASH)		+= jsflash.o
34obj-$(CONFIG_BBC_I2C)			+= bbc.o
35
36include $(TOPDIR)/Rules.make
37
38sunkbdmap.o: sunkeymap.c
39
40vfc.o: $(vfc-objs)
41	$(LD) -r -o $@ $(vfc-objs)
42
43bbc.o: $(bbc-objs)
44	$(LD) -r -o $@ $(bbc-objs)
45