Re: [PATCH 16 of 16] ipath - kbuild infrastructure
From: Roland Dreier
Date: Thu Mar 30 2006 - 17:40:32 EST
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/