Package: kernel-package
Version: 8.125
Severity: wishlist
Tags: patch

I have been recently trying to work through some problems in a module
package and found it difficult to determine which targets are called
at what time and for what purpose.  It seems that the most logical place
for this to be documented is in README.modules, which is exactly what
this patch does.

The information was taken from one of your (Manoj's) e-mails to the
debian-mentors mailing list [1] and from looking through the rules file.
The information is correct to the best of my understanding, but may
require some modifications/additions.

Hope this is useful,
Kevin

[1] http://lists.debian.org/debian-mentors/2002/05/msg00063.html


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10.20050403a
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages kernel-package depends on:
ii  dpkg                          1.10.27    Package maintenance system for Deb
ii  dpkg-dev                      1.10.27    Package building tools for Debian
ii  gcc [c-compiler]              4:3.3.5-3  The GNU C compiler
ii  gcc-3.3 [c-compiler]          1:3.3.5-8  The GNU C compiler
ii  make                          3.80-9     The GNU version of the "make" util
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction 

-- no debconf information
--- README.modules      2005-04-08 21:08:53.711566336 -0400
+++ README.modules.new  2005-04-08 21:08:26.311731744 -0400
@@ -153,9 +153,19 @@
  $(MODULE_LOC:-/usr/src/modules)/<mod-name>/, and runs ./debian/rules
  <target>.
 
+ <target> can be one of:
+ kdist_image           Create the binary image of the module
+                       * Called for make-kpkg modules_image
+ kdist                 Generate the modules packages and sign them
+                       * Called for make-kpkg modules
+ kdist_configure       Configure the modules packages
+                       * Called for make-kpkg modules_config
+ kdist_clean           Clean the modules source tree
+                       * Called for make-kpkg modules_clean
+
         Starting with kernel version 2.6.X, the build process is
  for third party modules has been modified; now modules are expected
- to build in hte kenrel sources dir, and you set the SUBDIR arg to
+ to build in the kenrel sources dir, and you set the SUBDIR arg to
  point to the source for the module itself. This arranges for the
  kernel makefiles to do all the boilerplate work of building/running
  modpost, dependencies, et cetera.  Here's the "new" way of building a

Reply via email to