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
+33
View File
@@ -0,0 +1,33 @@
config BR2_PACKAGE_CIFS_UTILS
bool "cifs-utils"
# uses fork()
depends on BR2_USE_MMU
help
The in-kernel CIFS filesystem is generally the preferred
method for mounting SMB/CIFS shares on Linux. The in-kernel
CIFS filesystem relies on a set of user-space tools. That
package of tools is called cifs-utils. Although not really
part of Samba proper, these tools were originally part of
the Samba package. For several reasons, shipping these tools
as part of Samba was problematic and it was deemed better to
split them off into their own package.
http://wiki.samba.org/index.php/LinuxCIFS_utils
if BR2_PACKAGE_CIFS_UTILS
config BR2_PACKAGE_CIFS_UTILS_SMBTOOLS
bool "smbtools"
depends on BR2_USE_WCHAR # python3
depends on BR2_TOOLCHAIN_HAS_THREADS # python3
depends on !BR2_STATIC_LIBS # python3
select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON # runtime
help
Install the smb tools smbinfo and smb2-quota (python
implementations).
comment "smbtools needs a toolchain w/ wchar, threads, dynamic library"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS
endif
+5
View File
@@ -0,0 +1,5 @@
# Locally calculated after checking pgp signature
sha256 43d8786c8613caccfa84913081c1d62bc2409575854cf895b05b48af0863d056 cifs-utils-6.13.tar.bz2
# Hash for license file:
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
+42
View File
@@ -0,0 +1,42 @@
################################################################################
#
# cifs-utils
#
################################################################################
CIFS_UTILS_VERSION = 6.13
CIFS_UTILS_SOURCE = cifs-utils-$(CIFS_UTILS_VERSION).tar.bz2
CIFS_UTILS_SITE = http://ftp.samba.org/pub/linux-cifs/cifs-utils
CIFS_UTILS_LICENSE = GPL-3.0+
CIFS_UTILS_LICENSE_FILES = COPYING
CIFS_UTILS_CPE_ID_VENDOR = samba
# Missing install-sh in release tarball
CIFS_UTILS_AUTORECONF = YES
CIFS_UTILS_DEPENDENCIES = host-pkgconf
# Let's disable PIE unconditionally. We want PIE to be enabled only by
# the global BR2_RELRO_FULL option.
CIFS_UTILS_CONF_OPTS = --disable-pie --disable-man
# uses C11 code in smbinfo.c and mtab.c
CIFS_UTILS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=gnu11"
ifeq ($(BR2_PACKAGE_KEYUTILS),y)
CIFS_UTILS_DEPENDENCIES += keyutils
endif
define CIFS_UTILS_NO_WERROR
$(SED) 's/-Werror//' $(@D)/Makefile.in
endef
CIFS_UTILS_POST_PATCH_HOOKS += CIFS_UTILS_NO_WERROR
ifeq ($(BR2_PACKAGE_CIFS_UTILS_SMBTOOLS),)
define CIFS_UTILS_REMOVE_SMBTOOLS
rm -f $(TARGET_DIR)/usr/bin/smbinfo
rm -f $(TARGET_DIR)/usr/bin/smb2-quota
endef
CIFS_UTILS_POST_INSTALL_TARGET_HOOKS += CIFS_UTILS_REMOVE_SMBTOOLS
endif
$(eval $(autotools-package))