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>
When this feature is enabled, Systemd mounts smackfs and manages
security labels for sockets.
+config BR2_PACKAGE_SYSTEMD_HIBERNATE
+ bool "enable hibernation support"
+ help
+ When this features is enabled, additional tools and services
+ are built to support suspending and resuming the system.
+
+ http://www.freedesktop.org/software/systemd/man/systemd-sleep.html
+
endif
SYSTEMD_CONF_OPTS += --disable-smack
endif
+ifeq ($(BR2_PACKAGE_SYSTEMD_HIBERNATE),y)
+SYSTEMD_CONF_OPTS += --enable-hibernate
+else
+SYSTEMD_CONF_OPTS += --disable-hibernate
+endif
+
# mq_getattr needs -lrt
SYSTEMD_MAKE_OPTS += LIBS=-lrt
SYSTEMD_MAKE_OPTS += LDFLAGS+=-ldl