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 7888f8f24ec08cdfd51929cde4e177396d7504e7 Mon Sep 17 00:00:00 2001
From: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Date: Thu, 28 Dec 2017 20:22:00 +0100
Subject: [PATCH] nilfs_cleanerd: link dynamically
When nilfs_cleanerd does not run due to shared object problems,
nilfs2 filesystems may run out of space soon.
This logic that justified linking nilfs_cleanerd statically
does IMO not apply to embedded systems built by buildroot.
This commit therefore drops the static linking.
Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
---
sbin/cleanerd/Makefile.am | 2 --
1 file changed, 2 deletions(-)
diff --git a/sbin/cleanerd/Makefile.am b/sbin/cleanerd/Makefile.am
index 3a5335d..06f0847 100644
--- a/sbin/cleanerd/Makefile.am
+++ b/sbin/cleanerd/Makefile.am
@@ -9,8 +9,6 @@ nilfs_cleanerd_SOURCES = cleanerd.c cldconfig.c \
nilfs_cleanerd_CFLAGS = -Wall
nilfs_cleanerd_CPPFLAGS = -I$(top_srcdir)/include \
-DSYSCONFDIR=\"$(sysconfdir)\"
-# Use -static option to make nilfs_cleanerd self-contained.
-nilfs_cleanerd_LDFLAGS = -static
dist_sysconf_DATA = nilfs_cleanerd.conf
--
1.8.5.rc3
+16
View File
@@ -0,0 +1,16 @@
config BR2_PACKAGE_NILFS_UTILS
bool "nilfs-utils"
depends on BR2_USE_MMU # util-linux libmount, libblkid
depends on BR2_TOOLCHAIN_HAS_THREADS # sem_open()
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
select BR2_PACKAGE_UTIL_LINUX
help
Tools for creating and managing NILFS2 filesystems.
https://nilfs.sourceforge.io
comment "nilfs-utils needs a toolchain w/ threads"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated after checking pgp signature
sha512 3232390581f63de5ebe7b461b178a40dfbdaa4bc6aa96b218ea8182c5bf81b162a1e632a1c21d9f1e89fdba9393b4e268e001c335a99ce22f645a62ae3154783 nilfs-utils-2.2.8.tar.bz2
sha512 4fc92d3998910acb108f81b1aee70a55a572b661a2766d0e57a55e48e2b737eea41415356cbd62593f26aec5797ab9fbb40211d7782b5834b4855ff1ce6ad5f7 COPYING
+26
View File
@@ -0,0 +1,26 @@
################################################################################
#
# nilfs-utils
#
################################################################################
NILFS_UTILS_VERSION = 2.2.8
NILFS_UTILS_SOURCE = nilfs-utils-$(NILFS_UTILS_VERSION).tar.bz2
NILFS_UTILS_SITE = https://nilfs.sourceforge.io/download
NILFS_UTILS_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (libraries)
NILFS_UTILS_LICENSE_FILES = COPYING
# need libuuid, libblkid, libmount
NILFS_UTILS_DEPENDENCIES = util-linux
# We're patching sbin/cleanerd/Makefile.am
NILFS_UTILS_AUTORECONF = YES
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
NILFS_UTILS_CONF_OPTS += --with-selinux
NILFS_UTILS_DEPENDENCIES += libselinux
else
NILFS_UTILS_CONF_OPTS += --without-selinux
endif
$(eval $(autotools-package))