LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to integrate driver source into kernel source tree (https://www.linuxquestions.org/questions/linux-software-2/how-to-integrate-driver-source-into-kernel-source-tree-382866/)

zhchang 11-13-2005 08:57 PM

how to integrate driver source into kernel source tree
 
Hi all,

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!

zhchang 11-13-2005 10:36 PM

please give some ideas!

zhchang 11-14-2005 03:17 AM

was I not clear enough about the problem? sorry about that, since English is not my first language.

RedShirt 11-14-2005 07:20 AM

The policy on these boards is No bumping. You can bump after 24 hours or no replies. Not 2 hours.

Your question was clear enough, and when the rest of the US wakes up and gets to work, I am sure you get some answers, sorry but I can't help. And actually, there are many on these forums who will not answer you since you bumped yourself twice, which is against forum rules.

zhchang 11-14-2005 07:23 AM

thanks for reminding.

I didn't quite know about this policy... sorry for that.

zhchang 11-23-2005 12:34 AM

so what is this?

is it that I did some "illegal" bumping and nobody will even care to give any comments to my problem?

I understand that rules are rules. But rules to beginner shall not be this straight, isn't it?


All times are GMT -5. The time now is 04:05 PM.