mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
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:
committed by
Thomas Petazzoni
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
|
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
|
config BR2_PACKAGE_SYSTEMD_NETWORKD
|
||||||
bool "enable network manager"
|
bool "enable network manager"
|
||||||
help
|
help
|
||||||
|
|||||||
@@ -183,6 +183,12 @@ else
|
|||||||
SYSTEMD_CONF_OPTS += --disable-randomseed
|
SYSTEMD_CONF_OPTS += --disable-randomseed
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y)
|
||||||
SYSTEMD_CONF_OPTS += --enable-networkd
|
SYSTEMD_CONF_OPTS += --enable-networkd
|
||||||
define SYSTEMD_INSTALL_RESOLVCONF_HOOK
|
define SYSTEMD_INSTALL_RESOLVCONF_HOOK
|
||||||
|
|||||||
Reference in New Issue
Block a user