From e0f3138f819f29fcd5d37b429ccc3626fd15afe8 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 4 Feb 2019 20:13:26 +0100 Subject: [PATCH] package/systemd: add optional valgrind dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/systemd/systemd.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index f9df66b039..5b2abdc3fe 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -117,6 +117,13 @@ else SYSTEMD_CONF_OPTS += -Dpam=false endif +ifeq ($(BR2_PACKAGE_VALGRIND),y) +SYSTEMD_DEPENDENCIES += valgrind +SYSTEMD_CONF_OPTS += -Dvalgrind=true +else +SYSTEMD_CONF_OPTS += -Dvalgrind=false +endif + ifeq ($(BR2_PACKAGE_XZ),y) SYSTEMD_DEPENDENCIES += xz SYSTEMD_CONF_OPTS += -Dxz=true -- 2.30.2