[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45CCF982.6090207@linux.intel.com>
Date: Fri, 09 Feb 2007 14:45:22 -0800
From: James Ketrenos <jketreno@...ux.intel.com>
To: Pavel Roskin <proski@....org>
CC: linux-wireless@...r.kernel.org,
ipw3945-devel@...ts.sourceforge.net, netdev@...r.kernel.org
Subject: Re: [ANNOUNCE] d80211 based driver for Intel PRO/Wireless 3945ABG
Pavel Roskin wrote:
> On Fri, 2007-02-09 at 14:18 -0800, James Ketrenos wrote:
>>> grep: /lib/modules/2.6.20/build//include/linux/netdevice.h: No such file
>>> or directory
...
>> I'll look into it. Does it work if you explicitly set KSRC to point to
>> your kernel sources?
>>
>> $ make KSRC=/lib/modules/2.6.20/source
>
> That works. At least it doesn't report errors. But it doesn't create a
> single object file.
'make' builds a set of sources compatible with the running kernel (or
the one pointed to via KSRC=).
'make patch_kernel' will then install the sources into your kernel tree.
You then build d80211 as part of your main kernel (either as a module
or static) The changes 'patch_kernel' makes do not require a full
kernel rebuild (you can just build the 80211 modules).
We'll want to add the ability to build as out-of-tree .ko's (similar to
what iwlwifi does) but I wanted to get the project announced.
> "build" is still hardcoded in iwlwifi's Makefile. It's interesting that
> D80211_INC is defined twice in Makefile. That must be wrong.
Now that you point it out, I hadn't tried using KSRC w/ the iwlwifi
build, just d80211. I'll have to fix that :)
Thanks,
James
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists