Patchwork lcdproc: add support for menus

login
register
mail settings
Submitter Simon Dawson
Date Oct. 4, 2012, 12:11 p.m.
Message ID <1349352700-7036-1-git-send-email-spdawson@gmail.com>
Download mbox | patch
Permalink /patch/189093/
State Accepted
Commit 23467d5e2c36866899bbe644c3adf7409cdba6d6
Headers show

Comments

Simon Dawson - Oct. 4, 2012, 12:11 p.m.
From: Simon Dawson <spdawson@gmail.com>

Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
 package/lcdproc/Config.in  |    6 ++++++
 package/lcdproc/lcdproc.mk |    4 ++++
 2 files changed, 10 insertions(+)
Peter Korsgaard - Oct. 8, 2012, 8:33 p.m.
>>>>> "spdawson" == spdawson  <spdawson@gmail.com> writes:

 spdawson> From: Simon Dawson <spdawson@gmail.com>
 spdawson> Signed-off-by: Simon Dawson <spdawson@gmail.com>

Committed, thanks.

Patch

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))