Files
buildroot/package/ndctl/ndctl.mk
Chen Pei c5728ff5af package/ndctl: bump to version 85
Upstream v85 no longer requires the -Dfwctl=enabled / -Dkeyutils=enabled
workaround, so drop both options along with the stale comment.

Signed-off-by: Chen Pei <cp0613@linux.alibaba.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-07-04 21:41:02 +02:00

48 lines
1.0 KiB
Makefile

################################################################################
#
# ndctl
#
################################################################################
NDCTL_VERSION = 85
NDCTL_SITE = $(call github,pmem,ndctl,v$(NDCTL_VERSION))
NDCTL_LICENSE = \
CC0-1.0 (helper routines), \
GPL-2.0+ (tools), \
LGPL-2.1+ (libraries), \
MIT (helper routines)
NDCTL_LICENSE_FILES = \
COPYING \
LICENSES/other/CC0-1.0 \
LICENSES/other/MIT \
LICENSES/preferred/GPL-2.0 \
LICENSES/preferred/LGPL-2.1
NDCTL_DEPENDENCIES = \
iniparser \
json-c \
keyutils \
kmod \
udev \
util-linux-libs
NDCTL_CONF_OPTS = \
-Ddocs=disabled \
-Diniparserdir=$(STAGING_DIR)/usr/include/iniparser
ifeq ($(BR2_PACKAGE_LIBTRACEFS)$(BR2_PACKAGE_LIBTRACEEVENT),yy)
NDCTL_CONF_OPTS += -Dlibtracefs=enabled
NDCTL_DEPENDENCIES += libtraceevent libtracefs
else
NDCTL_CONF_OPTS += -Dlibtracefs=disabled
endif
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
NDCTL_CONF_OPTS += -Dsystemd=enabled
NDCTL_DEPENDENCIES += systemd
else
NDCTL_CONF_OPTS += -Dsystemd=disabled
endif
$(eval $(meson-package))