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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



    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/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux