http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html
+config BR2_PACKAGE_SYSTEMD_MYHOSTNAME
+ bool "enable myhostname NSS plugin"
+ default y
+ help
+ nss-myhostname is a plug-in module for the GNU Name Service
+ Switch (NSS) functionality of the GNU C Library (glibc),
+ primarily providing hostname resolution for the locally
+ configured system hostname as returned by gethostname(2).
+
+ http://www.freedesktop.org/software/systemd/man/nss-myhostname.html
+
config BR2_PACKAGE_SYSTEMD_TIMEDATED
bool "enable timedate daemon"
default y
SYSTEMD_CONF_OPTS += --disable-hostnamed
endif
+ifeq ($(BR2_PACKAGE_SYSTEMD_MYHOSTNAME),y)
+SYSTEMD_CONF_OPTS += --enable-myhostname
+else
+SYSTEMD_CONF_OPTS += --disable-myhostname
+endif
+
ifeq ($(BR2_PACKAGE_SYSTEMD_TIMEDATED),y)
SYSTEMD_CONF_OPTS += --enable-timedated
else