initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
@@ -0,0 +1,32 @@
From 7ab34000c672adca90388a8fcb1f70a7d391d35c Mon Sep 17 00:00:00 2001
From: David Michael <fedora.dm0@gmail.com>
Date: Thu, 3 Jun 2021 16:18:57 -0400
Subject: [PATCH] erofs-utils: manpage: only install erofsfuse.1 with the
command
Link: https://lore.kernel.org/r/87lf7q3dn2.fsf@gmail.com
Reviewed-by: Gao Xiang <xiang@kernel.org>
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: Gao Xiang <xiang@kernel.org>
---
man/Makefile.am | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/man/Makefile.am b/man/Makefile.am
index ffcf6f81c255..0df947b6fbf7 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,5 +1,9 @@
# SPDX-License-Identifier: GPL-2.0+
# Makefile.am
-dist_man_MANS = mkfs.erofs.1 erofsfuse.1
+dist_man_MANS = mkfs.erofs.1
+EXTRA_DIST = erofsfuse.1
+if ENABLE_FUSE
+man_MANS = erofsfuse.1
+endif
--
2.20.1
+31
View File
@@ -0,0 +1,31 @@
config BR2_PACKAGE_EROFS_UTILS
bool "erofs-utils"
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
help
Userspace utilities for EROFS filesystem
https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git
if BR2_PACKAGE_EROFS_UTILS
config BR2_PACKAGE_EROFS_UTILS_LZ4
bool "lz4 support"
select BR2_PACKAGE_LZ4
help
Support LZ4 compression algorithm
config BR2_PACKAGE_EROFS_UTILS_EROFSFUSE
bool "erofsfuse support"
depends on BR2_USE_MMU # libfuse
depends on !BR2_STATIC_LIBS # libfuse
depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
select BR2_PACKAGE_LIBFUSE
help
FUSE file system client for EROFS
comment "erofsfuse needs a toolchain w/ threads, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
endif
+7
View File
@@ -0,0 +1,7 @@
config BR2_PACKAGE_HOST_EROFS_UTILS
bool "host erofs-utils"
select BR2_PACKAGE_HOST_UTIL_LINUX
help
Userspace utilities for EROFS filesystem
https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git
+3
View File
@@ -0,0 +1,3 @@
# Locally computed
sha256 132635740039bbe76d743aea72378bfae30dbf034e123929f5d794198d4c0b12 erofs-utils-1.3.tar.gz
sha256 feee3b3157dcdf78d4f50edefbd5dd7adf8b6d52c11bfaaa746a85a373256713 COPYING
+42
View File
@@ -0,0 +1,42 @@
################################################################################
#
# erofs-utils
#
################################################################################
EROFS_UTILS_VERSION = 1.3
EROFS_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot
EROFS_UTILS_LICENSE = GPL-2.0+
EROFS_UTILS_LICENSE_FILES = COPYING
# From a git tree: no generated autotools files
EROFS_UTILS_AUTORECONF = YES
EROFS_UTILS_DEPENDENCIES = host-pkgconf util-linux
ifeq ($(BR2_PACKAGE_EROFS_UTILS_LZ4),y)
EROFS_UTILS_DEPENDENCIES += lz4
EROFS_UTILS_CONF_OPTS += --enable-lz4
else
EROFS_UTILS_CONF_OPTS += --disable-lz4
endif
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
EROFS_UTILS_CONF_OPTS += --with-selinux
EROFS_UTILS_DEPENDENCIES += libselinux
else
EROFS_UTILS_CONF_OPTS += --without-selinux
endif
ifeq ($(BR2_PACKAGE_EROFS_UTILS_EROFSFUSE),y)
EROFS_UTILS_CONF_OPTS += --enable-fuse
EROFS_UTILS_DEPENDENCIES += libfuse
else
EROFS_UTILS_CONF_OPTS += --disable-fuse
endif
HOST_EROFS_UTILS_DEPENDENCIES = host-pkgconf host-util-linux host-lz4
HOST_EROFS_UTILS_CONF_OPTS += --enable-lz4 --disable-fuse --without-selinux
$(eval $(autotools-package))
$(eval $(host-autotools-package))