Search Linux Wireless

Re: [PATCH] Use the kernel source tree for includes, not the kernel build tree

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

 



On Tue, 2008-09-16 at 16:34 -0400, Pavel Roskin wrote:
> On Tue, 2008-09-16 at 22:18 +0200, Johannes Berg wrote:
> 
> > > diff --git a/Makefile b/Makefile
> > > index 74cb1e1..9e79381 100644
> > > --- a/Makefile
> > > +++ b/Makefile
> > > @@ -6,7 +6,7 @@ INSTALL ?= install
> > >  PREFIX ?= /usr
> > >  CC ?= "gcc"
> > >  CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
> > > -CFLAGS += -I/lib/modules/`uname -r`/build/include
> > > +CFLAGS += -I/lib/modules/`uname -r`/source/include
> > 
> > I'll remove that line entirely though.
> 
> In Makefile?  Please make sure that .config remains optional.

Yes; we actually ship nl80211.h out of the kernel already. So if your
installed kernel headers are new enough, you don't need .config, if they
aren't you might need .config, before you had to have it always anyway.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux