summaryrefslogtreecommitdiffstats
path: root/package/lcdproc
diff options
context:
space:
mode:
Diffstat (limited to 'package/lcdproc')
-rw-r--r--package/lcdproc/Config.in6
-rw-r--r--package/lcdproc/lcdproc.mk4
2 files changed, 10 insertions, 0 deletions
diff --git a/package/lcdproc/Config.in b/package/lcdproc/Config.in
index 72611056a..820f4eae5 100644
--- a/package/lcdproc/Config.in
+++ b/package/lcdproc/Config.in
@@ -12,3 +12,9 @@ config BR2_PACKAGE_LCDPROC_DRIVERS
depends on BR2_PACKAGE_LCDPROC
help
Specify a comma-separated list of lcdproc drivers to be built
+
+config BR2_PACKAGE_LCDPROC_MENUS
+ bool "Menu support"
+ depends on BR2_PACKAGE_LCDPROC
+ help
+ Enable support for lcdproc menus
diff --git a/package/lcdproc/lcdproc.mk b/package/lcdproc/lcdproc.mk
index 7fd8a44d0..7914c852e 100644
--- a/package/lcdproc/lcdproc.mk
+++ b/package/lcdproc/lcdproc.mk
@@ -12,6 +12,10 @@ LCDPROC_MAKE = $(MAKE1)
LCDPROC_CONF_OPT = --enable-drivers=$(BR2_PACKAGE_LCDPROC_DRIVERS)
+ifeq ($(BR2_PACKAGE_LCDPROC_MENUS),y)
+LCDPROC_CONF_OPT += --enable-lcdproc-menus
+endif
+
LCDPROC_DEPENDENCIES = ncurses
$(eval $(autotools-package))