From: Fabrice Fontaine Date: Fri, 29 Mar 2019 17:25:28 +0000 (+0100) Subject: package/quota: add optional netlink dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47048e6012278ad69bb3d60d2778ad300276b45f;p=buildroot.git package/quota: add optional netlink dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- 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