This is the Debian GNU/Linux prepackaged version of the PCMCIA Card
Services package.

By default, debian/rules will set the kernel-specific options from the
kernel source tree in /usr/src/linux.  If this is not desirable,
execute `make config' in the pcmcia-cs root directory to interactively
configure the package.

You need to have a complete linux source tree for your kernel, not
just an up-to-date kernel image, to compile the PCMCIA package.  The
PCMCIA modules contain some references to kernel source files.  While
you may want to build a new kernel to remove unnecessary drivers,
installing PCMCIA does not require you to do so.

If your kernel is compiled with CONFIG_MODVERSIONS enabled, for kernel
symbol version checking, the configure script will check for the
existence of /usr/include/linux/modversions.h, the symbol version
database.  This is created by running `make dep' (in addition to `make
config') in the kernel source tree.

To recompile the PCMCIA kernel modules:

1) Ensure that the kernel source tree is in the /usr/src/linux
   directory and ensure that it is configured
   (i.e., execute `make config dep' in the /usr/src/linux directory).

2) Go to the pcmcia-cs root directory (e.g., /usr/src/modules/pcmcia-cs
   in the pcmcia-source package).

3) Execute as root `debian/rules binary-modules'.

4) This will generate the pcmcia-modules-<kernel version> deb file.

To recompile the PCMCIA utility programs:

1) Ensure that the kernel source tree is in the /usr/src/linux
   directory and ensure that it is configured
   (i.e., execute `make config dep' in the /usr/src/linux directory).

2) Go to the pcmcia-cs root directory (e.g., /usr/src/modules/pcmcia-cs
   in the pcmcia-source package).

3) Execute as root `debian/rules binary-cs'.

4) This will generate the pcmcia-cs deb file.

Note: The location of the kernel source tree may be specified by
supplying the KSRC variable as a command line option.  For example, if
the kernel source is located in /usr/local/src/kernel-2.0.0, the
proper commands would be

  debian/rules KSRC=/usr/local/src/kernel-2.0.0 binary-modules

and

  debian/rules KSRC=/usr/local/src/kernel-2.0.0 binary-cs
