summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspdawson@gmail.com <spdawson@gmail.com>2012-04-11 12:12:30 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-05-01 20:22:10 (GMT)
commitacf2af2d91838b15a645bf17cb4a50688603b2af (patch)
tree4e19d55dcf2efba5790c0a3e6bd0a01c7752a922
parentdf39ffe7f437f62d7c0eb6d73bdb86b2d09a8c8a (diff)
downloadbuildroot-acf2af2d91838b15a645bf17cb4a50688603b2af.tar.gz
buildroot-acf2af2d91838b15a645bf17cb4a50688603b2af.tar.bz2
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'. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/lcdproc/Config.in7
-rw-r--r--package/lcdproc/lcdproc.mk2
2 files changed, 8 insertions, 1 deletions
diff --git a/package/lcdproc/Config.in b/package/lcdproc/Config.in
index 6c8614d..7261105 100644
--- a/package/lcdproc/Config.in
+++ b/package/lcdproc/Config.in
@@ -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
diff --git a/package/lcdproc/lcdproc.mk b/package/lcdproc/lcdproc.mk
index e8919e9..745b386 100644
--- a/package/lcdproc/lcdproc.mk
+++ b/package/lcdproc/lcdproc.mk
@@ -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