mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-21 08:53:41 +00:00
def4d8733b
Only build IEEE1394 OUI database files if the config option is enabled. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
28 lines
816 B
Makefile
28 lines
816 B
Makefile
#
|
|
# Makefile for the Linux IEEE 1394 implementation
|
|
#
|
|
|
|
ieee1394-objs := ieee1394_core.o ieee1394_transactions.o hosts.o \
|
|
highlevel.o csr.o nodemgr.o dma.o iso.o \
|
|
csr1212.o config_roms.o
|
|
ifdef CONFIG_IEEE1394_OUI_DB
|
|
ieee1394-objs += oui.o
|
|
endif
|
|
|
|
obj-$(CONFIG_IEEE1394) += ieee1394.o
|
|
obj-$(CONFIG_IEEE1394_PCILYNX) += pcilynx.o
|
|
obj-$(CONFIG_IEEE1394_OHCI1394) += ohci1394.o
|
|
obj-$(CONFIG_IEEE1394_VIDEO1394) += video1394.o
|
|
obj-$(CONFIG_IEEE1394_RAWIO) += raw1394.o
|
|
obj-$(CONFIG_IEEE1394_SBP2) += sbp2.o
|
|
obj-$(CONFIG_IEEE1394_DV1394) += dv1394.o
|
|
obj-$(CONFIG_IEEE1394_ETH1394) += eth1394.o
|
|
|
|
quiet_cmd_oui2c = OUI2C $@
|
|
cmd_oui2c = $(CONFIG_SHELL) $(srctree)/$(src)/oui2c.sh < $< > $@
|
|
|
|
targets := oui.c
|
|
$(obj)/oui.o: $(obj)/oui.c
|
|
$(obj)/oui.c: $(src)/oui.db $(src)/oui2c.sh FORCE
|
|
$(call if_changed,oui2c)
|