Add lcdproc config options, for driver selection
PATCH 1/1 Add lcdproc config options, for driver selection
From: Simon Dawson <[email protected]>
--- package/lcdproc/Config.in | 246 ++++++++++++++++++++++++++++++++++++++++++++ package/lcdproc/lcdproc.mk | 151 +++++++++++++++++++++++++++- 2 files changed, 396 insertions(+), 1 deletions(-)
package/lcdproc/Config.in +246 -0
@@ -5,3 +5,249 @@ config BR2_PACKAGE_LCDPROC LCD display driver daemon and clients http://lcdproc.org/ + +menu "Drivers" + depends on BR2_PACKAGE_LCDPROC + +config BR2_PACKAGE_LCDPROC_DRIVER_BAYRAD + bool "bayrad" + help + Driver for bayrad devices + +config BR2_PACKAGE_LCDPROC_DRIVER_CFONTZ + bool "CFontz" + help + Driver for CFontz devices + +config BR2_PACKAGE_LCDPROC_DRIVER_CFONTZ633 + bool "CFontz633" + help + Driver for CFontz633 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_CFONTZPACKET + bool "CFontzPacket" + help + Driver for CFontzPacket devices + +config BR2_PACKAGE_LCDPROC_DRIVER_CURSES + bool "curses" + default y + help + Driver for curses devices + +config BR2_PACKAGE_LCDPROC_DRIVER_CWLNX + bool "CwLnx" + help + Driver for CwLnx devices + +config BR2_PACKAGE_LCDPROC_DRIVER_EA65 + bool "ea65" + help + Driver for ea65 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_EYEBOXONE + bool "EyeboxOne" + help + Driver for EyeboxOne devices + +config BR2_PACKAGE_LCDPROC_DRIVER_G15 + bool "g15" + help + Driver for g15 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_GLCDLIB + bool "glcdlib" + help + Driver for glcdlib devices + +config BR2_PACKAGE_LCDPROC_DRIVER_GLK + bool "glk" + help + Driver for glk devices + +config BR2_PACKAGE_LCDPROC_DRIVER_HD44780 + bool "hd44780" + help + Driver for hd44780 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_I2500VFD + bool "i2500vfd" + help + Driver for i2500vfd devices + +config BR2_PACKAGE_LCDPROC_DRIVER_ICP_A106 + bool "icp_a106" + help + Driver for icp_a106 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_IMON + bool "imon" + help + Driver for imon devices + +config BR2_PACKAGE_LCDPROC_DRIVER_IMONLCD + bool "imonlcd" + help + Driver for imonlcd devices + +config BR2_PACKAGE_LCDPROC_DRIVER_IOWARRIOR + bool "IOWarrior" + help + Driver for IOWarrior devices + +config BR2_PACKAGE_LCDPROC_DRIVER_IRMAN + bool "irman" + help + Driver for irman devices + +config BR2_PACKAGE_LCDPROC_DRIVER_IRTRANS + bool "irtrans" + help + Driver for irtrans devices + +config BR2_PACKAGE_LCDPROC_DRIVER_JOY + bool "joy" + help + Driver for joy devices + +config BR2_PACKAGE_LCDPROC_DRIVER_LB216 + bool "lb216" + help + Driver for lb216 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_LCDM001 + bool "lcdm001" + help + Driver for lcdm001 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_LCTERM + bool "lcterm" + help + Driver for lcterm devices + +config BR2_PACKAGE_LCDPROC_DRIVER_LIRC + bool "lirc" + help + Driver for lirc devices + +config BR2_PACKAGE_LCDPROC_DRIVER_LIS + bool "lis" + help + Driver for lis devices + +config BR2_PACKAGE_LCDPROC_DRIVER_MD8800 + bool "MD8800" + help + Driver for MD8800 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_MDM166A + bool "mdm166a" + help + Driver for mdm166a devices + +config BR2_PACKAGE_LCDPROC_DRIVER_MS6931 + bool "ms6931" + help + Driver for ms6931 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_MTC_S16209X + bool "mtc_s16209x" + help + Driver for mtc_s16209x devices + +config BR2_PACKAGE_LCDPROC_DRIVER_MTXORB + bool "MtxOrb" + help + Driver for MtxOrb devices + +config BR2_PACKAGE_LCDPROC_DRIVER_MX5000 + bool "mx5000" + help + Driver for mx5000 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_NORITAKEVFD + bool "NoritakeVFD" + help + Driver for NoritakeVFD devices + +config BR2_PACKAGE_LCDPROC_DRIVER_PICOLCD + bool "picolcd" + help + Driver for picolcd devices + +config BR2_PACKAGE_LCDPROC_DRIVER_PYRAMID + bool "pyramid" + help + Driver for pyramid devices + +config BR2_PACKAGE_LCDPROC_DRIVER_SED1330 + bool "sed1330" + help + Driver for sed1330 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_SED1520 + bool "sed1520" + help + Driver for sed1520 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_SERIALPOS + bool "serialPOS" + help + Driver for serialPOS devices + +config BR2_PACKAGE_LCDPROC_DRIVER_SERIALVFD + bool "serialVFD" + help + Driver for serialVFD devices + +config BR2_PACKAGE_LCDPROC_DRIVER_SHUTTLEVFD + bool "shuttleVFD" + help + Driver for shuttleVFD devices + +config BR2_PACKAGE_LCDPROC_DRIVER_SLI + bool "sli" + help + Driver for sli devices + +config BR2_PACKAGE_LCDPROC_DRIVER_STV5730 + bool "stv5730" + help + Driver for stv5730 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_SUREELEC + bool "SureElec" + help + Driver for SureElec devices + +config BR2_PACKAGE_LCDPROC_DRIVER_SVGA + bool "svga" + help + Driver for svga devices + +config BR2_PACKAGE_LCDPROC_DRIVER_T6963 + bool "t6963" + help + Driver for t6963 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_TEXT + bool "text" + help + Driver for text devices + +config BR2_PACKAGE_LCDPROC_DRIVER_TYAN + bool "tyan" + help + Driver for tyan devices + +config BR2_PACKAGE_LCDPROC_DRIVER_ULA200 + bool "ula200" + help + Driver for ula200 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_XOSD + bool "xosd" + help + Driver for xosd devices + +endmenu
package/lcdproc/lcdproc.mk +150 -1
157 lines not on this page · raw message
Signature · 1 line
1.7.5.4
PATCH 1/1 Add lcdproc config options, for driver selection
Quoted 17 lines
package/lcdproc/Config.in +12
-0+ +config BR2_PACKAGE_LCDPROC_DRIVER_ULA200 + bool "ula200" + help + Driver for ula200 devices + +config BR2_PACKAGE_LCDPROC_DRIVER_XOSD + bool "xosd" + help + Driver for xosd devices + +endmenupackage/lcdproc/lcdproc.mk +0
-0
package/lcdproc/lcdproc.mk LCDPROC_VERSION = 0.5.5 · line 13
Quoted 8 lines
package/lcdproc/lcdproc.mk +4
-1@@ -7,7 +7,156 @@ LCDPROC_VERSION = 0.5.5 LCDPROC_SOURCE = lcdproc-$(LCDPROC_VERSION).tar.gz LCDPROC_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/lcdproc/lcdproc/$(LCDPROC_VERSION) -LCDPROC_CONF_OPT = --enable-drivers=all +LCDPROC_DRIVERS = +ifeq ($(BR2_PACKAGE_LCDPROC_DRIVER_BAYRAD),y) + LCDPROC_DRIVERS += bayrad +endif
LCDPROC_DRIVERS-$(BR2_PACKAGE_LCDPROC_DRIVER_BAYRAD) += bayrad
and then use
LCDPROC_DRIVERS-y
so we can drop the ifeq blabla
Best Regards,
J.
PATCH 1/1 Add lcdproc config options, for driver selection
In reply to spdawson at gmail.comHello Simon,
Le Wed, 11 Apr 2012 11:02:48 +0100,
spdawson at gmail.com a ?crit :
Quoted 7 lines
From: Simon Dawson <[email protected]>
Signed-off-by Simon Dawson <[email protected]>--- package/lcdproc/Config.in | 246 ++++++++++++++++++++++++++++++++++++++++++++ package/lcdproc/lcdproc.mk | 151 +++++++++++++++++++++++++++- 2 files changed, 396 insertions(+), 1 deletions(-)
Thanks for this patch. I am wondering whether we should have such a long list of drivers as a menu, or whether we should just provide an option to give a comma-separated list of drivers. Something like the following choice:
[ ] Build all drivers
[ ] Build custom list of drivers
When the second choice is enabled, then it shows:
() List of drivers to build
But I don't feel really strongly about this, so please wait for comments from other Buildroot developers before working on such change.
Quoted 1 line
+LCDPROC_CONF_OPT = --enable-drivers=$(shell echo $(LCDPROC_DRIVERS) | sed -e 's/ /,/g')
This can be done in pure make:
LCDPROC_CONF_OPT = --enable-drivers=$(subst $(space),$(comma),$(LCDPROC_DRIVERS))
Regards,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com