lcdproc: add support for menus
authorSimon Dawson <spdawson@gmail.com>
Thu, 4 Oct 2012 02:11:39 +0000 (02:11 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 8 Oct 2012 20:32:44 +0000 (22:32 +0200)
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/lcdproc/Config.in
package/lcdproc/lcdproc.mk

index 72611056a1196b8c6d9f0f59ff54a6d2adaf53ac..820f4eae57bc8321f51afaffe03ae3d811a64865 100644 (file)
@@ -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
index 7fd8a44d0d3e00572f7576eca4cb0db875b34c82..7914c852e499b1b56d0b83c8bb570e8d40d0b081 100644 (file)
@@ -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))