On Tue, 2007-01-16 at 10:08 +0200, Michael S. Tsirkin wrote: > > Quoting Steve Wise <[EMAIL PROTECTED]>: > > Subject: [PATCH RFC 19/21] ofed_1_2 Add LINUXINCLUDE to > > drivers/net/cxgb3/Makefile > > > > > > Add LINUXINCLUDE to drivers/net/cxgb3/Makefile > > > > Signed-off-by: Steve Wise <[EMAIL PROTECTED]> > > --- > > > > .../cxgb3_makefile_to_2_6_5-7_244.patch | 12 ++++++++++++ > > 1 files changed, 12 insertions(+), 0 deletions(-) > > > > diff --git > > a/kernel_patches/backport/2.6.5_sles9_sp3/cxgb3_makefile_to_2_6_5-7_244.patch > > > > b/kernel_patches/backport/2.6.5_sles9_sp3/cxgb3_makefile_to_2_6_5-7_244.patch > > new file mode 100644 > > index 0000000..ad7e7f4 > > --- /dev/null > > +++ > > b/kernel_patches/backport/2.6.5_sles9_sp3/cxgb3_makefile_to_2_6_5-7_244.patch > > @@ -0,0 +1,12 @@ > > +diff --git a/drivers/net/cxgb3/Makefile b/drivers/net/cxgb3/Makefile > > +index 3434679..bb008b6 100755 > > +--- a/drivers/net/cxgb3/Makefile > > ++++ b/drivers/net/cxgb3/Makefile > > +@@ -1,6 +1,7 @@ > > + # > > + # Chelsio T3 driver > > + # > > ++NOSTDINC_FLAGS:= $(NOSTDINC_FLAGS) $(LINUXINCLUDE) > > + > > + obj-$(CONFIG_CHELSIO_T3) += cxgb3.o > > + > > I wonder why is it needed there but not in other makefiles. >
This one took me a while to figure out!!! For the life of me, I couldn't get drivers/net/cxbg3 to get passed in the search path for the addons. Anyway, drivers/infiniband/Makefile get patched so all the infiniband subdirs have it defined. drivers/net doesn't. See kernel_patches/.../top_8109_to_2_6_5-7_244.patch _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general