Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the Linux IEEE 1394 implementation |
| 3 | # |
| 4 | |
| 5 | ieee1394-objs := ieee1394_core.o ieee1394_transactions.o hosts.o \ |
Randy Dunlap | def4d87 | 2006-10-24 11:19:11 -0700 | [diff] [blame^] | 6 | highlevel.o csr.o nodemgr.o dma.o iso.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | csr1212.o config_roms.o |
Randy Dunlap | def4d87 | 2006-10-24 11:19:11 -0700 | [diff] [blame^] | 8 | ifdef CONFIG_IEEE1394_OUI_DB |
| 9 | ieee1394-objs += oui.o |
| 10 | endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
| 12 | obj-$(CONFIG_IEEE1394) += ieee1394.o |
| 13 | obj-$(CONFIG_IEEE1394_PCILYNX) += pcilynx.o |
| 14 | obj-$(CONFIG_IEEE1394_OHCI1394) += ohci1394.o |
| 15 | obj-$(CONFIG_IEEE1394_VIDEO1394) += video1394.o |
| 16 | obj-$(CONFIG_IEEE1394_RAWIO) += raw1394.o |
| 17 | obj-$(CONFIG_IEEE1394_SBP2) += sbp2.o |
| 18 | obj-$(CONFIG_IEEE1394_DV1394) += dv1394.o |
| 19 | obj-$(CONFIG_IEEE1394_ETH1394) += eth1394.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
| 21 | quiet_cmd_oui2c = OUI2C $@ |
| 22 | cmd_oui2c = $(CONFIG_SHELL) $(srctree)/$(src)/oui2c.sh < $< > $@ |
| 23 | |
| 24 | targets := 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) |