documentation/ethercat_doc.tex
changeset 1106 745a0cc03143
parent 1095 a3ca9a8a223e
child 1107 fccab40a5916
equal deleted inserted replaced
1105:3552b4c46f10 1106:745a0cc03143
  3100 
  3100 
  3101 To view them, point your browser to \textit{doxygen-output/html/index.html}.
  3101 To view them, point your browser to \textit{doxygen-output/html/index.html}.
  3102 
  3102 
  3103 \section{Installation}
  3103 \section{Installation}
  3104 
  3104 
  3105 The below commands have to be entered as \textit{root}: The first one
  3105 The below commands have to be entered as \textit{root}: The first one will
  3106 will install the kernel modules to the kernel's modules directory. The
  3106 install the EtherCAT header, init script, sysconfig file and the user space
  3107 second one will install EtherCAT headers, the init script, the
  3107 tools to the prefix path. The second one will install the kernel modules to the
  3108 sysconfig file and the user space tools to the prefix path.
  3108 kernel's modules directory. The following \lstinline+depmod+ call is necessary
       
  3109 to include the kernel modules into the \textit{modules.dep} file to make it
       
  3110 available to the \lstinline+modprobe+ command, used in the init script. 
  3109 
  3111 
  3110 \begin{lstlisting}
  3112 \begin{lstlisting}
       
  3113 # `\textbf{make install}`
  3111 # `\textbf{make modules\_install}`
  3114 # `\textbf{make modules\_install}`
  3112 # `\textbf{make install}`
  3115 # `\textbf{depmod}`
  3113 \end{lstlisting}
  3116 \end{lstlisting}
  3114 
  3117 
  3115 If the target kernel's modules directory is not under \textit{/lib/modules}, a
  3118 If the target kernel's modules directory is not under \textit{/lib/modules}, a
  3116 different destination directory can be specified with the \lstinline+DESTDIR+
  3119 different destination directory can be specified with the \lstinline+DESTDIR+
  3117 make variable. For example:
  3120 make variable. For example: