From 47048e6012278ad69bb3d60d2778ad300276b45f Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 29 Mar 2019 18:25:28 +0100 Subject: [PATCH] package/quota: add optional netlink dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/quota/quota.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/quota/quota.mk b/package/quota/quota.mk index 46ef243ecc..836baf6071 100644 --- a/package/quota/quota.mk +++ b/package/quota/quota.mk @@ -11,6 +11,13 @@ QUOTA_LICENSE = GPL-2.0+ QUOTA_LICENSE_FILES = COPYING QUOTA_LIBS = $(TARGET_NLS_LIBS) +ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_LIBNL),yy) +QUOTA_DEPENDENCIES += host-pkgconf dbus libnl +QUOTA_CONF_OTS += --enable-netlink +else +QUOTA_CONF_OPTS += --disable-netlink +endif + ifeq ($(BR2_PACKAGE_E2FSPROGS),y) QUOTA_DEPENDENCIES += host-pkgconf e2fsprogs QUOTA_CONF_OPTS += --enable-ext2direct -- 2.30.2