mirror of
https://github.com/coolsnowwolf/lede.git
synced 2026-05-28 03:07:12 +08:00
39 lines
946 B
Makefile
39 lines
946 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:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL=https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot/
|
|
PKG_HASH:=05eb4edebe11decce6ecb34e98d2f80c8cd283c2f2967d8ba7efd58418570514
|
|
|
|
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))
|