From: Gabe Evans Date: Fri, 1 Jul 2016 21:51:05 +0000 (+0200) Subject: package/systemd: add optional support for backlight X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=722a24e175b754767d7547f7042ff06d603d3176;p=buildroot.git package/systemd: add optional support for backlight Signed-off-by: Gabe Evans Signed-off-by: Maxime Hadjinlian Signed-off-by: Thomas Petazzoni --- 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