package/systemd: add optional support for backlight
Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
bab978a09b
commit
722a24e175
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user