Skip to contentSkip to conversation

Add lcdproc config options, for driver selection

PATCH New spdawson at gmail.com 2 participants 2 messages Apr 11, 2012 – May 1, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add lcdproc config options, for driver selection

Add a configuration menu item to specify a list of lcdproc drivers to be built. The list defaults to 'all'.

---
 package/lcdproc/Config.in  |    7 +++++++
 package/lcdproc/lcdproc.mk |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)
package/lcdproc/Config.in +7 -0
index 6c8614d..7261105 100644
@@ -5,3 +5,10 @@ config BR2_PACKAGE_LCDPROC
          LCD display driver daemon and clients
 
          http://lcdproc.org/
+
+config BR2_PACKAGE_LCDPROC_DRIVERS
+	string "List of drivers to build"
+	default "all"
+	depends on BR2_PACKAGE_LCDPROC
+	help
+	  Specify a comma-separated list of lcdproc drivers to be built
package/lcdproc/lcdproc.mk +1 -1
index e8919e9..745b386 100644
@@ -7,7 +7,7 @@ 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_CONF_OPT = --enable-drivers=$(BR2_PACKAGE_LCDPROC_DRIVERS)
 
 LCDPROC_DEPENDENCIES = ncurses
 
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 Add lcdproc config options, for driver selection

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"spdawson" == spdawson <[email protected]> writes:

spdawson> Add a configuration menu item to specify a list of lcdproc spdawson> drivers to be built. The list defaults to 'all'.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard