initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_BTRFS_PROGS
|
||||
bool "btrfs-progs"
|
||||
depends on BR2_USE_MMU # util-linux
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_LZO
|
||||
select BR2_PACKAGE_UTIL_LINUX
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
Btrfs filesystem utilities
|
||||
|
||||
https://btrfs.wiki.kernel.org/index.php/Main_Page
|
||||
|
||||
comment "btrfs-progs needs a toolchain w/ threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_HOST_BTRFS_PROGS
|
||||
bool "host btrfs-progs"
|
||||
help
|
||||
Btrfs filesystem utilities
|
||||
|
||||
https://btrfs.wiki.kernel.org/index.php/Main_Page
|
||||
@@ -0,0 +1,6 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/sha256sums.asc
|
||||
sha256 d41961b0a92160c80f894ad9a1882822889c2e1d084cbf3e08b8c214a5cf0137 btrfs-progs-v5.11.tar.xz
|
||||
# Locally computed
|
||||
sha256 0d5bf346df9e635a29dcdddf832dc5b002ca6cdc1c5c9c6c567d2a61bb0c5c15 COPYING
|
||||
sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 libbtrfsutil/COPYING
|
||||
sha256 e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118 libbtrfsutil/COPYING.LESSER
|
||||
@@ -0,0 +1,42 @@
|
||||
################################################################################
|
||||
#
|
||||
# btrfs-progs
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BTRFS_PROGS_VERSION = 5.11
|
||||
BTRFS_PROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/kdave/btrfs-progs
|
||||
BTRFS_PROGS_SOURCE = btrfs-progs-v$(BTRFS_PROGS_VERSION).tar.xz
|
||||
BTRFS_PROGS_DEPENDENCIES = host-pkgconf lzo util-linux zlib
|
||||
BTRFS_PROGS_CONF_OPTS = --disable-backtrace --disable-zstd --disable-python
|
||||
BTRFS_PROGS_LICENSE = GPL-2.0, LGPL-3.0+ (libbtrfsutil)
|
||||
BTRFS_PROGS_LICENSE_FILES = COPYING libbtrfsutil/COPYING \
|
||||
libbtrfsutil/COPYING.LESSER
|
||||
BTRFS_PROGS_INSTALL_STAGING = YES
|
||||
|
||||
# Doesn't autodetect static-only and tries to build both
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
BTRFS_PROGS_MAKE_OPTS = static
|
||||
BTRFS_PROGS_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-static
|
||||
BTRFS_PROGS_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-static
|
||||
endif
|
||||
|
||||
# convert also supports conversion from reiserfs, which needs some
|
||||
# reiserfs libraries, but we have no package for them in Buildroot, so
|
||||
# we keep things simple and only handle ext2.
|
||||
ifeq ($(BR2_PACKAGE_E2FSPROGS),y)
|
||||
BTRFS_PROGS_CONF_OPTS += --enable-convert --with-convert=ext2
|
||||
BTRFS_PROGS_DEPENDENCIES += e2fsprogs
|
||||
else
|
||||
BTRFS_PROGS_CONF_OPTS += --disable-convert
|
||||
endif
|
||||
|
||||
HOST_BTRFS_PROGS_DEPENDENCIES = host-util-linux host-lzo host-zlib
|
||||
HOST_BTRFS_PROGS_CONF_OPTS = \
|
||||
--disable-backtrace \
|
||||
--disable-zstd \
|
||||
--disable-python \
|
||||
--disable-convert
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user