From: Steven Noonan Date: Wed, 18 Mar 2015 21:44:42 +0000 (-0700) Subject: package/procps-ng: if building with systemd, enable systemd-specific features X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b70493c07b75c43eecd474cfe9f40de01f79b04;p=buildroot.git package/procps-ng: if building with systemd, enable systemd-specific features [Thomas: add explicit --without-systemd option when systemd is not available.] Signed-off-by: Steven Noonan Signed-off-by: Thomas Petazzoni --- diff --git a/package/procps-ng/procps-ng.mk b/package/procps-ng/procps-ng.mk index ff3c6d32ef..b1c17c0b36 100644 --- a/package/procps-ng/procps-ng.mk +++ b/package/procps-ng/procps-ng.mk @@ -24,6 +24,13 @@ PROCPS_NG_DEPENDENCIES += gettext PROCPS_NG_CONF_OPTS += LIBS=-lintl endif +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +PROCPS_NG_DEPENDENCIES += systemd +PROCPS_NG_CONF_OPTS += --with-systemd +else +PROCPS_NG_CONF_OPTS += --without-systemd +endif + # We need this to make procps-ng binaries installed in $(TARGET_DIR)/usr # instead of $(TARGET_DIR)/usr/usr PROCPS_NG_CONF_OPTS += --exec-prefix=