diff --git a/INSTALL b/INSTALL index 9ccfd2d55da2e5b987fdfa7a7bd71919f63841b4..94387c8c4fcd564666cef998a1ea27c954cade9d 100644 --- a/INSTALL +++ b/INSTALL @@ -9,31 +9,22 @@ $Id$ Building and installing ======================= -The first two steps are only necessary, if the kernel sources to compile -against are not those of the running kernel. +The building and installation procedure is described in section 2.1 in the +EtherCAT master documentation: -1) Create a copy of the configuration template: + documentation/ethercat-doc.pdf - $ cp ethercat.conf.tmpl ethercat.conf - -2) Adjust the variables in the configuration file to your needs. - -3) Build the EtherCAT master and network device driver modules: - - $ make - -4) Install the the EtherCAT master (as root): +------------------------------------------------------------------------------- - # make install +For the impatient: - This will create the following files and directories: - - /etc/sysconfig/ethercat (configuration file) - - /etc/init.d/ethercat (startup script) - - /usr/sbin/rcethercat (link to startup script) +The procedure mainly consists of calling - The modules will be placed in /lib/modules/<KERNEL>/ethercat - (where <KERNEL> is the Linux kernel version configured in ethercat.conf). + ./configure + make + make install -5) Adjust the configuration file /etc/sysconfig/ethercat to your needs. +...and copying the init script and sysconfig files from $prefix/etc to the +appropriate locations and customizing the sysconfig file. -------------------------------------------------------------------------------