[openib-general] Re: [PATCH 16 of 16] ipath - kbuild infrastructure

Roland Dreier rdreier at cisco.com
Thu Mar 30 14:36:34 PST 2006


    Bryan> I did ask at one point whether the core driver should live
    Bryan> in a directory in drivers/char/, since it's not really an
    Bryan> IB driver at all, and just have the IB-specific stuff live
    Bryan> in drivers/infiniband/hw/.

I guess we could do that (now or later).

For now how about something minimal like the change below?

Sam, does this seem OK to you?  (The situation is that the IPATH_CORE
source physically sits in drivers/infiniband/hw/ipath, but it is
possible to enable IPATH_CORE without enabling INFINIBAND.  So we need
to tell the build system to descend into drivers/infiniband if
IPATH_CORE is enabled, even if INFINIBAND isn't enabled)

Thanks,
  Roland

diff --git a/drivers/Makefile b/drivers/Makefile
index 4249552..2449ec5 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -70,6 +70,7 @@ obj-$(CONFIG_EISA)		+= eisa/
 obj-$(CONFIG_CPU_FREQ)		+= cpufreq/
 obj-$(CONFIG_MMC)		+= mmc/
 obj-$(CONFIG_INFINIBAND)	+= infiniband/
+obj-$(CONFIG_IPATH_CORE)	+= infiniband/
 obj-$(CONFIG_SGI_SN)		+= sn/
 obj-y				+= firmware/
 obj-$(CONFIG_CRYPTO)		+= crypto/



More information about the general mailing list