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,51 @@
From 1d5a2e0f88e0c53fede03632fa92ffade5e79ac5 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sun, 11 Apr 2021 10:04:59 +0200
Subject: [PATCH] fix build on musl
Build on musl is broken since version 1.7.1 and commit
a1f20223cfcf7b9eae8c9e7e7a07e7bf1377f65b:
libbridge_devif.c: In function 'fpopen':
libbridge_devif.c:33:12: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'?
33 | char path[PATH_MAX];
| ^~~~~~~~
| AF_MAX
Fixes:
- http://autobuild.buildroot.org/results/0f080ff6913595ee2732b93206e5001c837c1bcc
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status: sent to Stephen Hemminger <sthemmin@microsoft.com>]
---
libbridge/libbridge_devif.c | 1 +
libbridge/libbridge_init.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/libbridge/libbridge_devif.c b/libbridge/libbridge_devif.c
index 8b7d954..6c679f6 100644
--- a/libbridge/libbridge_devif.c
+++ b/libbridge/libbridge_devif.c
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
+#include <limits.h>
#include <string.h>
#include <dirent.h>
#include <fcntl.h>
diff --git a/libbridge/libbridge_init.c b/libbridge/libbridge_init.c
index c914971..83a97cd 100644
--- a/libbridge/libbridge_init.c
+++ b/libbridge/libbridge_init.c
@@ -20,6 +20,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
+#include <limits.h>
#include <string.h>
#include <dirent.h>
#include <sys/types.h>
--
2.30.2
+11
View File
@@ -0,0 +1,11 @@
config BR2_PACKAGE_BRIDGE_UTILS
bool "bridge-utils"
help
Manage ethernet bridging; a way to connect networks together
to form a larger network.
This utility is DEPRECATED. No new features will ever be
added. Instead use the bridge command from the iproute2
package which supports more features.
https://git.kernel.org/cgit/linux/kernel/git/shemminger/bridge-utils.git/
+5
View File
@@ -0,0 +1,5 @@
# From https://mirrors.edge.kernel.org/pub/linux/utils/net/bridge-utils/sha256sums.asc
sha256 a61d8be4f1a1405c60c8ef38d544f0c18c05b33b9b07e5b4b31033536165e60e bridge-utils-1.7.1.tar.xz
# locally computed
sha256 995a31f60a9ddb4c609214cc7d17ca94cc3cbc7f37e1e64dba81e7f8ea9d4f91 COPYING
+20
View File
@@ -0,0 +1,20 @@
################################################################################
#
# bridge-utils
#
################################################################################
BRIDGE_UTILS_VERSION = 1.7.1
BRIDGE_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/net/bridge-utils
BRIDGE_UTILS_SOURCE = bridge-utils-$(BRIDGE_UTILS_VERSION).tar.xz
BRIDGE_UTILS_AUTORECONF = YES
BRIDGE_UTILS_LICENSE = GPL-2.0+
BRIDGE_UTILS_LICENSE_FILES = COPYING
BRIDGE_UTILS_CPE_ID_VENDOR = kernel
BRIDGE_UTILS_SELINUX_MODULES = brctl
# Avoid using the host's headers. Location is not important as
# required headers will anyway be found from within the sysroot.
BRIDGE_UTILS_CONF_OPTS = --with-linux-headers=$(STAGING_DIR)/usr/include
$(eval $(autotools-package))