mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-02 21:53:56 -09:00
VERSION should ideally contain only the version, i.e 2.12 and not some
additional prefix like liburing- as it prevents our logic matching
against release-monitoring.org data to work properly.
Fixes: d2ed456532 ("package/liburing: bump to version 2.12")
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# liburing
|
|
#
|
|
################################################################################
|
|
|
|
LIBURING_VERSION = 2.12
|
|
LIBURING_SOURCE = $(LIBURING_VERSION).tar.gz
|
|
LIBURING_SITE = $(call github,axboe,liburing,liburing-$(LIBURING_VERSION))
|
|
LIBURING_LICENSE = (GPL-2.0 with exceptions and LGPL-2.1+) or MIT
|
|
LIBURING_LICENSE_FILES = COPYING COPYING.GPL LICENSE README
|
|
LIBURING_INSTALL_STAGING = YES
|
|
|
|
define LIBURING_LINUX_CONFIG_FIXUPS
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_IO_URING)
|
|
endef
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
LIBURING_MAKE_OPTS += ENABLE_SHARED=0
|
|
else
|
|
LIBURING_MAKE_OPTS += ENABLE_SHARED=1
|
|
endif
|
|
|
|
define LIBURING_CONFIGURE_CMDS
|
|
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure)
|
|
endef
|
|
|
|
define LIBURING_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(LIBURING_MAKE_OPTS) -C $(@D)/src
|
|
endef
|
|
|
|
define LIBURING_INSTALL_STAGING_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(LIBURING_MAKE_OPTS) -C $(@D) \
|
|
DESTDIR=$(STAGING_DIR) install
|
|
endef
|
|
|
|
define LIBURING_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(LIBURING_MAKE_OPTS) -C $(@D) \
|
|
DESTDIR=$(TARGET_DIR) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|