openwrt-Ansuel/tools/erofs-utils/Makefile
Andy Chiang 9359fc9376
tools: erofs-utils: update to 1.8.10
ChangeLog:
  https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/tree/ChangeLog?h=v1.8.10

Build system: x86/64
Tested on:
  - x86/64 (build + run)
  - mediatek/filogic GL-MT3000 (build + run)

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/20804
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-11-19 12:39:53 +01:00

41 lines
1008 B
Makefile

#
# Copyright (C) 2009-2025 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=erofs-utils
PKG_VERSION:=1.8.10
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git
PKG_MIRROR_HASH:=a21d244aee8cb216ac4436bf7f790e75fca113ea9a5512c8e4ac530c4983ef32
PKG_SOURCE_DATE:=2025-07-15
PKG_SOURCE_VERSION:=51b5939b5f783221310d25146e6a2019ba8129b6
PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/host-build.mk
HOST_CONFIGURE_ARGS=\
--enable-multithreading \
--enable-lzma \
--enable-lz4 \
--disable-fuse \
--with-uuid
define Host/Install
$(INSTALL_BIN) $(HOST_BUILD_DIR)/mkfs/mkfs.erofs $(STAGING_DIR_HOST)/bin/
$(INSTALL_BIN) $(HOST_BUILD_DIR)/fsck/fsck.erofs $(STAGING_DIR_HOST)/bin/
endef
define Host/Clean
rm -f $(STAGING_DIR_HOST)/bin/mkfs.erofs
rm -f $(STAGING_DIR_HOST)/bin/fsck.erofs
endef
$(eval $(call HostBuild))