add new chapter about driver API; fix a few errors in the other dobbooks

This commit is contained in:
marschap
2006-03-28 14:01:34 +00:00
parent 8acd3f9564
commit ce195bdbe6
4 changed files with 659 additions and 23 deletions
+14 -15
View File
@@ -46,11 +46,11 @@ AC_ARG_ENABLE(drivers,
[ --enable-drivers=<list> compile driver for LCDs in <list>.]
[ drivers may be separated with commas.]
[ Possible choices are:]
[ bayrad,cfontz,cfontz633,curses,cwlnx,glcdlib,glk,]
[ hd44780,icp_a106,imon,iowarrior,irman,joy,lb216,]
[ lcdm001,lcterm,lirc,ms6931,mtc_s16209x,mtxorb,]
[ noritakevfd,pylcd,sed1330,sed1520,sli,stv5730,svga,]
[ t6963,text,tyan,xosd]
[ bayrad,CFontz,CFontz633,CFontzPacket,curses,CwLnx,]
[ glcdlib,glk,hd44780,icp_a106,imon,IOWarrior,irman,]
[ joy,lb216,lcdm001,lcterm,lirc,ms6931,mtc_s16209x,]
[ MtxOrb,NoritakeVFD,pylcd,sed1330,sed1520,serialVFD,]
[ sli,stv5730,svga,t6963,text,tyan,ula200,xosd]
[ \"all\" compiles all drivers],
drivers="$enableval",
</screen>
@@ -60,15 +60,14 @@ AC_ARG_ENABLE(drivers,
[ --enable-drivers=&lt;list&gt; compile driver for LCDs in &lt;list&gt;.]
[ drivers may be separated with commas.]
[ Possible choices are:]
[ bayrad,cfontz,cfontz633,curses,cwlnx,glcdlib,glk,]
[ hd44780,icp_a106,imon,iowarrior,irman,joy,lb216,]
[ lcdm001,lcterm,lirc,ms6931,mtc_s16209x,mtxorb,]
[ noritakevfd,pylcd,sed1330,sed1520,sli,stv5730,svga,]
[ t6963,text,tyan,xosd,<emphasis>myDriver</emphasis>]
[ bayrad,CFontz,CFontz633,CFontzPacket,curses,CwLnx,]
[ glcdlib,glk,hd44780,icp_a106,imon,IOWarrior,irman,]
[ joy,lb216,lcdm001,lcterm,lirc,ms6931,mtc_s16209x,]
[ MtxOrb,NoritakeVFD,pylcd,sed1330,sed1520,serialVFD,]
[ sli,stv5730,svga,t6963,text,tyan,ula200,xosd,<emphasis>myDriver</emphasis>]
[ \"all\" compiles all drivers],
drivers="$enableval",
</screen>
</sect3>
<sect3 id="autoconf-step2">
@@ -79,13 +78,13 @@ AC_ARG_ENABLE(drivers,
<para>This:</para>
<screen>
if test "$drivers" = "all"; then
drivers=[bayrad,cfontz,...(big list)...,tyan,xosd]
drivers=[bayrad,CFontz,...(big list)...,ula200,xosd]
fi
</screen>
<para>becomes:</para>
<screen>
if test "$drivers" = "all"; then
drivers=[bayrad,cfontz,...(big list)...,tyan,xosd,<emphasis>myDriver</emphasis>]
drivers=[bayrad,CFontz,...(big list)...,ula200,xosd,<emphasis>myDriver</emphasis>]
fi
</screen>
@@ -123,11 +122,11 @@ If your driver only works in some platform or requires a particular library or h
<para>This</para>
<screen>
EXTRA_PROGRAMS = bayrad CFontz ...(big list)... wirz_sli xosd
EXTRA_PROGRAMS = bayrad CFontz ...(big list)... ula200 xosd
</screen>
<para>becomes</para>
<screen>
EXTRA_PROGRAMS = bayrad CFontz ...(big list)... wirz_sli xosd <emphasis>myDriver</emphasis>
EXTRA_PROGRAMS = bayrad CFontz ...(big list)... ula200 xosd <emphasis>myDriver</emphasis>
</screen>
</sect3>