how to integrate driver source into kernel source tree
I am newbie to linux, I am currently trying to build custom 2.4 kernel rpm packages with bcm5700 driver.
What I did is get the bcm5700 source , which is a directory, put into kernel source tree: /kernel-source-top/driver/net
then I followed the e1000 driver way and came out a makefile for bcm5700 driver, in config files used by kernel.spec, I added CONFIG_BCM5700=m (same as e1000). In /driver/net/Makefile, I did similiar changes.
but when I run rpmbuild -bb /usr/src/redhat/SPECS/kernel.spec,
the rpm will built out without bcm5700 driver, (e1000.o was inside).
Is there anything else I should do but I haven't done?
Looking forward for masters' help!
Thanks in advance!