[openib-general] [PATCH RFC 19/21] ofed_1_2 Add LINUXINCLUDE todrivers/net/cxgb3/Makefile
Michael S. Tsirkin
mst at mellanox.co.il
Tue Jan 16 06:22:16 PST 2007
> Quoting Steve WIse <swise at opengridcomputing.com>:
> Subject: Re: [PATCH RFC 19/21] ofed_1_2 Add LINUXINCLUDE todrivers/net/cxgb3/Makefile
>
> On Tue, 2007-01-16 at 10:08 +0200, Michael S. Tsirkin wrote:
> > > Quoting Steve Wise <swise at opengridcomputing.com>:
> > > 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 <swise at opengridcomputing.com>
> > > ---
> > >
> > > .../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
I see. Makes sense.
--
MST
More information about the general
mailing list