[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using kernel-build packages to autobuild modules



David Z Maze <dmaze@debian.org> wrote:
> 
> The fundamental problem seems to be that I want to build-depend on
> kernel-build-2.4.20, and then build a module for each of the flavors
> in /usr/src/kernel-build-2.4.20.  But which flavors exactly exist
> varies per platform, and might also vary between builds of the
> kernel.  This means that the contents of debian/control need to be
> different on each platform.  I could put every possible
> architecture/version/flavor triple in debian/control, but this seems
> unmaintainable.  Any hints?

Have a control file template and generate the real one at build time.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Reply to: