Files
Bernd Kuhls fe49d5c682 package/drbd-utils: drbdmon needs sync_1
Buildroot commit 99585db1e8 bumped the
package from version 9.21.4 to 9.33.0.

Upstream added std::atomic to drbdmon with commit
https://github.com/LINBIT/drbd-utils/commit/3baf945732fc144043822b50a2a03daad0994d44
to version 9.25.0 causing build errors:

/home/autobuild/autobuild/instance-2/output-1/per-package/drbd-utils/host/bin/../lib/gcc/microblazeel-buildroot-linux-uclibc/14.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld:
 MessageLogNotification.o: in function `MessageLogNotification::query_log_changed()':
 (.text+0xe8): undefined reference to `__atomic_exchange_1'

Fixes:
https://autobuild.buildroot.net/results/741/741606000c26bc994f243b0b865d26ff25592caa/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-02-02 10:01:42 +01:00

37 lines
993 B
Makefile

################################################################################
#
# drbd-utils
#
################################################################################
DRBD_UTILS_VERSION = 9.33.0
DRBD_UTILS_SITE = http://pkg.linbit.com/downloads/drbd/utils
DRBD_UTILS_LICENSE = GPL-2.0+
DRBD_UTILS_LICENSE_FILES = COPYING
DRBD_UTILS_SELINUX_MODULES = drbd
DRBD_UTILS_DEPENDENCIES = host-flex
DRBD_UTILS_CONF_OPTS = --with-distro=generic --without-manual
ifeq ($(BR2_INIT_SYSTEMD),y)
DRBD_UTILS_CONF_OPTS += --with-initscripttype=systemd
DRBD_UTILS_DEPENDENCIES += systemd
else
DRBD_UTILS_CONF_OPTS += --with-initscripttype=sysv
endif
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS)$(BR2_TOOLCHAIN_HAS_SYNC_1),yy)
DRBD_UTILS_CONF_OPTS += --with-drbdmon
else
DRBD_UTILS_CONF_OPTS += --without-drbdmon
endif
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
DRBD_UTILS_CONF_OPTS += --with-udev=yes
DRBD_UTILS_DEPENDENCIES += udev
else
DRBD_UTILS_CONF_OPTS += --with-udev=no
endif
$(eval $(autotools-package))