Search Linux Wireless

Re: [ANNOUNCE] d80211 based driver for Intel PRO/Wireless 3945ABG

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

 



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 linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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