[Bridge] i need some help with compiling bridge module

Stuart Luppescu s-luppescu at uchicago.edu
Mon Mar 1 09:40:52 PST 2004

On 月, 2004-03-01 at 10:31, Software-team wrote:
> I am trying to improve bridge module towards 802.1w (RSTP) but I am new to kernel and modules programming. I dont want to compile the whole modules every time I make some changes. Could you give me some clues how to set up environment to compile only selected module (bridge 802.1d) for a given kernel version, written in Makefile like:
> How to make a Makefile so the bridge module could be compiled separately for that kernel (or another)?
> Thanks for any specyfic help.

It's pretty easy. do make menuconfig, and under Networking Options put
'M' where it says 802.1d Ethernet Bridging.

Save your config, and then do make dep && make bzImage modules
Move the /usr/src/linux/arch/i386/boot/bzImage to somewhere in /boot
(renaming it if you like), make the appropriate modification to
lilo.conf (and then rerun lilo) or change /boot/grub/grub.conf and
reboot. When it starts up again, just modprobe bridge.

I also found that I had to do make mrproper before I could get the
bridge module to load. In this case, make sure you save your .config
file to somewhere else first, or you'll lose it.

Stuart Luppescu -=- s-luppescu .at. uchicago.edu        
University of Chicago -=- CCSR 
才文と智奈美の父 -=-    Kernel 2.6.3-gentoo-r1                
Bilbo's First Law:  You cannot count friends that
 are all packed up in barrels. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.linux-foundation.org/pipermail/bridge/attachments/20040301/72f4696e/attachment-0002.pgp

More information about the Bridge mailing list