Ben Hutchings wrote:
> Bastian Blank wrote:
> > On Fri, Mar 28, 2008 at 04:31:11PM +0000, Ben Hutchings wrote:
> > >                               You should not invoke kbuild directly on the
> > > module source directory.
> > 
> > This is the prequisite to build it as part of linux-modules-*.
> 
> OK.  Why doesn't it do what module-assistant does?
> 
> I could add a static config.h and extraversion.h to the package as we don't
> need to worry about versions with backported changes in Debian, unlike some
> other distributions I could mention.

I have done this in package version 2.2.0063-2.

> However we're switching to a more
> autoconf-like way of detecting kernel features, which will mean that in future
> it's essential to run a script before compiling any source files.  I'll try
> using the filechk rules in kbuild to do this.

I have successfully done this in the development tree, so unless it
turns out to cause problems for other build configurations this
should work without patching in future.

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to