blob: d9650d3d77a004b383637217db95d21e8f46a164 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the Linux IEEE 1394 implementation
3#
4
5ieee1394-objs := ieee1394_core.o ieee1394_transactions.o hosts.o \
Randy Dunlapdef4d872006-10-24 11:19:11 -07006 highlevel.o csr.o nodemgr.o dma.o iso.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 csr1212.o config_roms.o
Randy Dunlapdef4d872006-10-24 11:19:11 -07008ifdef CONFIG_IEEE1394_OUI_DB
9ieee1394-objs += oui.o
10endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
12obj-$(CONFIG_IEEE1394) += ieee1394.o
13obj-$(CONFIG_IEEE1394_PCILYNX) += pcilynx.o
14obj-$(CONFIG_IEEE1394_OHCI1394) += ohci1394.o
15obj-$(CONFIG_IEEE1394_VIDEO1394) += video1394.o
16obj-$(CONFIG_IEEE1394_RAWIO) += raw1394.o
17obj-$(CONFIG_IEEE1394_SBP2) += sbp2.o
18obj-$(CONFIG_IEEE1394_DV1394) += dv1394.o
19obj-$(CONFIG_IEEE1394_ETH1394) += eth1394.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
21quiet_cmd_oui2c = OUI2C $@
22 cmd_oui2c = $(CONFIG_SHELL) $(srctree)/$(src)/oui2c.sh < $< > $@
23
24targets := oui.c
25$(obj)/oui.o: $(obj)/oui.c
26$(obj)/oui.c: $(src)/oui.db $(src)/oui2c.sh FORCE
27 $(call if_changed,oui2c)