Connect the debug driver to the build system. It has always lived only in
CVS and was not to be compiled by 'make'. However, it may serve as a template for new drivers. Therefore add it to Makefile.am to have it in the distribution. Note that it will only get compiled if explicitly given to configure or if '--enable-debug' is used with '--drivers=all'.
This commit is contained in:
+7
-2
@@ -23,8 +23,9 @@ AC_ARG_ENABLE(drivers,
|
||||
drivers=[bayrad,CFontz,CFontz633,curses,CwLnx,glk,lb216,lcdm001,MtxOrb,pyramid,text])
|
||||
|
||||
allDrivers=[bayrad,CFontz,CFontz633,CFontzPacket,curses,CwLnx,ea65,EyeboxOne,g15,glcdlib,glk,hd44780,i2500vfd,icp_a106,imon,imonlcd,IOWarrior,irman,irtrans,joy,lb216,lcdm001,lcterm,lirc,lis,MD8800,mdm166a,ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,picolcd,pyramid,sed1330,sed1520,serialPOS,serialVFD,shuttleVFD,sli,stv5730,SureElec,svga,t6963,text,tyan,ula200,xosd]
|
||||
|
||||
drivers=`echo $drivers | sed -e 's/,/ /g'`
|
||||
if test "$debug" = yes; then
|
||||
allDrivers=["${allDrivers},debug"]
|
||||
fi
|
||||
|
||||
dnl replace special keyword "all" in a secure manner
|
||||
drivers=[" $drivers "]
|
||||
@@ -131,6 +132,10 @@ dnl else
|
||||
DRIVERS="$DRIVERS CwLnx${SO}"
|
||||
actdrivers=["$actdrivers CwLnx"]
|
||||
;;
|
||||
debug)
|
||||
DRIVERS="$DRIVERS debug${SO}"
|
||||
actdrivers=["$actdrivers debug"]
|
||||
;;
|
||||
ea65)
|
||||
DRIVERS="$DRIVERS ea65${SO}"
|
||||
actdrivers=["$actdrivers ea65"]
|
||||
|
||||
Reference in New Issue
Block a user