ieee1394: only build OUI database files if config enabled
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 24 Oct 2006 18:19:11 +0000 (11:19 -0700)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 7 Dec 2006 20:32:29 +0000 (21:32 +0100)
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>
drivers/ieee1394/Makefile

index 6f53611fe255dab1e8fd9da548eb990e067ba427..d9650d3d77a004b383637217db95d21e8f46a164 100644 (file)
@@ -3,8 +3,11 @@
 #
 
 ieee1394-objs := ieee1394_core.o ieee1394_transactions.o hosts.o \
-                highlevel.o csr.o nodemgr.o oui.o dma.o iso.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