summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2012-10-04 02:11:39 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-10-08 20:32:44 (GMT)
commit23467d5e2c36866899bbe644c3adf7409cdba6d6 (patch)
tree3c0996917d048a3f02d9ef7f3c20c8d69805651f
parentf02d58ccffa9be5d27dea4f13d690af1df9a96b9 (diff)
downloadbuildroot-23467d5e2c36866899bbe644c3adf7409cdba6d6.tar.gz
buildroot-23467d5e2c36866899bbe644c3adf7409cdba6d6.tar.bz2
lcdproc: add support for menus
Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-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 7261105..820f4ea 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 7fd8a44..7914c85 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))