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

Re: debian/rules assumptions for kernel modules?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 28 Mar 2003 20:55, Al Stone <ahs3@fc.hp.com> wrote:
> Is there a document somewhere that describes
> the assumptions I can make in a debian/rules
> file?  For instance, as part of my work to
> be a DD, I'm working on a package that makes
> a kernel module.  At some point, buildd (I
> think that's the name of the daemon) will
> probably invoke make-kpkg to build kernel
> module packages from my package that will
> provide the modules for the various kernel-image
> packages available.  So, can I, in the rules
> file, assume that /usr/src/linux exists?  Can
> I assume that there's a .config already made?
>
> It's easy enough to put checks in the rules
> so that the build fails if these things are
> not present; that'll be done.  But, I just
> haven't been able to find anything that tells
> me what sort of build environment I can rely
> on.  Have I just not looked in the right place?

Does /usr/share/doc/kernel-package/README.modules answer your question? 
(Assuming you currently have the kernel-package package installed).

Regards,

Paul Cupis
- -- 
paul@cupis.co.uk

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+hM9XIzuKV+SHX/kRAoumAJ9kuGsTz2IyeHZAFPMWiLni1Z0PSgCfcP9/
VUFWnUGL7g4pS4yYI7W5r20=
=KZZH
-----END PGP SIGNATURE-----



Reply to: