From ddf498d135c9680c9040870addc81ab3fed0f252 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 13 Oct 2003 18:45:59 +0000 Subject: [PATCH] add mention of new --with-rtaidir and --with-rtlinuxdir configure options --- INSTALL | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/INSTALL b/INSTALL index ad658975..e46b1599 100644 --- a/INSTALL +++ b/INSTALL @@ -14,7 +14,7 @@ the Debian distibution the config files for the kernel-image packages are installed into the /boot directory). The following steps will (almost) set up your kernel sources correctly. You will also need write permission to the kernel source directory the first time you -run comedi's 'make config', so you might want to unpack the kernel +run comedi's 'make config', so you might want to unpack the kernel source into a directory you own. 1) Get a copy of the kernel source that matches the kernel you are @@ -26,7 +26,8 @@ source into a directory you own. 'uname -r' produces "2.4.16-386" then your EXTRAVERSION should be set as 'EXTRAVERSION=-386'. 3) Run 'make oldconfig' in your kernel source directory. -4) Run 'make dep' in the kernel source directory and you are done. +4) Run 'make dep' (or 'make prepare' for 2.6 kernels) in the kernel + source directory and you are done. Red Hat users note: Kernel sources that are distributed with Red Hat Linux are not supported, because they are too heavily @@ -38,17 +39,12 @@ Documentation/comedi/redhat-notes on how to use Red Hat kernels. If you want to use the real-time capabilities of Comedi with RTAI, you need to compile and install RTAI first. It is necessary to use the rthal patch instead of the "copyto" -scripts. Known working versions are RTAI-1.6, RTAI-24.1.4, -and current RTAI CVS. Remember to enable Kcomedilib support, -since you will be accessing Comedi from other kernel modules. - +scripts. Known working versions are RTAI-1.6, and RTAI-24.1.4. * RTLinux support: If you want to use the real-time capabilities of Comedi with RTLinux, you need to compile RTLinux (both the kernel and the modules) first. Known working versions are 2.x and 3.0. -Remember to enable Kcomedilib support, since you will be -accessing Comedi from other kernel modules. * Configuration: @@ -59,7 +55,10 @@ be generated by running './autogen.sh'. The autoconf, automake, autoheader, etc. tools are required to generate the configure script (automake version >= 1.7 recommended). The --with-linuxdir option is particularly useful, as it allows you to specify -the location of your Linux kernel source directory. +the location of your Linux kernel source directory. If +you are using an RT-patched kernel, the --with-rtaidir or +--with-rtlinuxdir options allow you to specify +the location of your RTAI or RTLinux source directory. * Compiling: -- 2.26.2