summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/systemd/Config.in8
-rw-r--r--package/systemd/systemd.mk6
2 files changed, 14 insertions, 0 deletions
diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index 959154ea11..46bbd13f2d 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -169,6 +169,14 @@ config BR2_PACKAGE_SYSTEMD_RANDOMSEED
http://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html
+config BR2_PACKAGE_SYSTEMD_BACKLIGHT
+ bool "enable backlight support"
+ help
+ systemd-backlight is a service that restores the display
+ backlight brightness at early boot and saves it at shutdown.
+
+ http://www.freedesktop.org/software/systemd/man/systemd-backlight@.service.html
+
config BR2_PACKAGE_SYSTEMD_NETWORKD
bool "enable network manager"
help
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 5672f00fb3..98c97c380e 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -183,6 +183,12 @@ else
SYSTEMD_CONF_OPTS += --disable-randomseed
endif
+ifeq ($(BR2_PACKAGE_SYSTEMD_BACKLIGHT),y)
+SYSTEMD_CONF_OPTS += --enable-backlight
+else
+SYSTEMD_CONF_OPTS += --disable-backlight
+endif
+
ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y)
SYSTEMD_CONF_OPTS += --enable-networkd
define SYSTEMD_INSTALL_RESOLVCONF_HOOK
OpenPOWER on IntegriCloud