On Tue, 2008-09-16 at 16:08 -0400, Pavel Roskin wrote: > If the build is done outside the source tree, nl80211.h won't be in the > build tree. We only need only definitions from the sources, not the > kernel configuration. good catch > Signed-off-by: Pavel Roskin <proski@xxxxxxx> > --- > Makefile | 2 +- > defconfig | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > 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. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part