]> git.openfabrics.org - ~emulex/tmp/compat-rdma/.git/commitdiff
makefile: Remove cxgb3/cxgb4 driver header files inclusion
authorVipul Pandya <vipul@chelsio.com>
Mon, 7 May 2012 09:20:51 +0000 (14:50 +0530)
committerVipul Pandya vipul@chelsio.com <vipulp@openfabrics.org>
Tue, 15 May 2012 15:21:28 +0000 (08:21 -0700)
cxgb3/cxgb4 drivers header files have the same name. They get included while
building iw_cxgb3/iw_cxgb4 drivers respectively. Including them from the top
level makefile results in wrong header file inclusion while building
iw_cxgb3/iw_cxgb4 drivers.

Remove inclusion of cxgb3/cxgb4 header files from the top level makefile
and let them get included from the individual Makefile of iw_cxgb3/iw_cxgb4
drivers.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
makefile

index 820a7e813e7aac879738b2f5fef62b13f19b597d..8e1dabde0c8ce41b6176114ac7d2f279ff159a8e 100644 (file)
--- a/makefile
+++ b/makefile
@@ -129,8 +129,6 @@ kernel:
                -I$(CWD)/drivers/infiniband/debug \
                -I/usr/local/include/scst \
                -I$(CWD)/drivers/infiniband/ulp/srpt \
-               -I$(CWD)/drivers/net/ethernet/chelsio/cxgb3 \
-               -I$(CWD)/drivers/net/ethernet/chelsio/cxgb4 \
                $$(if $$(CONFIG_XEN),-D__XEN_INTERFACE_VERSION__=$$(CONFIG_XEN_INTERFACE_VERSION)) \
                $$(if $$(CONFIG_XEN),-I$$(srctree)/arch/x86/include/mach-xen) \
                -I$$(srctree)/arch/$$(SRCARCH)/include \