mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 09:35:26 +00:00
Upgrade buildroot to 2023.05 (from 2021.08.2), kernel is upgraded to 6.3 (from 5.13.19).
This commit is contained in:
17
package/liburing/Config.in
Normal file
17
package/liburing/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_LIBURING
|
||||
bool "liburing"
|
||||
depends on BR2_USE_MMU # madvise()
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
|
||||
help
|
||||
This is the io_uring library, liburing. liburing provides
|
||||
helpers to setup and teardown io_uring instances, and also a
|
||||
simplified interface for applications that don't need (or
|
||||
want) to deal with the full kernel side implementation.
|
||||
|
||||
https://git.kernel.dk/cgit/liburing
|
||||
|
||||
comment "liburing needs a toolchain w/ gcc >= 4.9, headers >= 5.1"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
|
||||
8
package/liburing/liburing.hash
Normal file
8
package/liburing/liburing.hash
Normal file
@@ -0,0 +1,8 @@
|
||||
# Locally calculated
|
||||
sha256 0fcd25dc1eb32cbeb534219f8e7fcfeadbd8dc2304aa447148e5ca8408076f22 liburing-2.2.tar.bz2
|
||||
|
||||
# Hash for license files
|
||||
sha256 592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c COPYING
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPL
|
||||
sha256 2ec12f7934cdfce25ff72b0557738989d79fc7a496d1cf9b2d3f9464fd61edbe LICENSE
|
||||
sha256 1c3351726408c22787dafbb5cc4bfeaa38ca8e92eabf59a36a046a5a2e66108f README
|
||||
42
package/liburing/liburing.mk
Normal file
42
package/liburing/liburing.mk
Normal file
@@ -0,0 +1,42 @@
|
||||
################################################################################
|
||||
#
|
||||
# liburing
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBURING_VERSION = 2.2
|
||||
LIBURING_SOURCE = liburing-$(LIBURING_VERSION).tar.bz2
|
||||
LIBURING_SITE = https://git.kernel.dk/cgit/liburing/snapshot
|
||||
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))
|
||||
Reference in New Issue
Block a user