lkml.org 
[lkml]   [2000]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectAdding vendor drivers...
So, when a vendor has to add a new driver, especially with the new-style
makefiles, you have a one-line patch to a makefile, a one-line patch to
a Config.in, and a patch which adds the driver to the tree.

It would make adding new drivers to vendor kernel packages a whole lot
easier and more modular if you could add a driver simply by doing:

cp driver.c driver.config.in driver.mak linux/extras

...and then the makefile and config system automatically slurps this
data. extras/Makefile could look something like:

...new style init..
include *.mak
...new style obj-x handling...
include Rules.make

Something similar would have to be worked out for Config.in.

Of course, for anything complex, patching is still an option.

Comments? Suggested implementation? :)

I think this feature would be valuable for many vendors. In addition to
making it easier to add new drivers, it makes the separation between
kernel changes and vendor additions more apparently and obvious.

Regards,

Jeff





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.050 / U:2.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site