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,35 @@
From cf1b20f3d881a1cfbf8cae1f615f45a5a4fbb3b4 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Wed, 22 Apr 2020 18:35:55 +0200
Subject: [PATCH] fuzz/Makefile.am: do not force static
Don't force static when linking corpus2arry to libtasn1 otherwise the
build will fail if libtasn1 has been built only as a shared library:
CCLD corpus2array
/home/fabrice/buildroot/output/host/lib/gcc/arm-buildroot-linux-musleabihf/8.4.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: attempted static link of dynamic object `../lib/.libs/libtasn1.so'
collect2: error: ld returned 1 exit status
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status:
https://gitlab.com/gnutls/libtasn1/-/merge_requests/61]
---
fuzz/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fuzz/Makefile.am b/fuzz/Makefile.am
index c6310d1..1fb7152 100644
--- a/fuzz/Makefile.am
+++ b/fuzz/Makefile.am
@@ -26,7 +26,7 @@ AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) $(CODE_COVERAGE_CFLAGS)
AM_CPPFLAGS = -I$(top_builddir)/lib/includes -I$(top_srcdir)/lib/includes -I$(srcdir) \
-I$(top_builddir)/lib/gl -I$(top_srcdir)/lib/gl -DSRCDIR=\"$(abs_srcdir)\" \
$(CODE_COVERAGE_CPPFLAGS)
-AM_LDFLAGS = -no-install -static
+AM_LDFLAGS = -no-install
LDADD = ../lib/gl/libgnu.la ../lib/libtasn1.la $(FUZZ_LIBS) $(CODE_COVERAGE_LIBS)
--
2.25.1
+6
View File
@@ -0,0 +1,6 @@
config BR2_PACKAGE_LIBTASN1
bool "libtasn1"
help
ASN.1 library
http://www.gnu.org/software/libtasn1
+7
View File
@@ -0,0 +1,7 @@
# Locally calculated after checking pgp signature
# https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.17.0.tar.gz.sig
sha256 ece7551cea7922b8e10d7ebc70bc2248d1fdd73351646a2d6a8d68a9421c45a5 libtasn1-4.17.0.tar.gz
# Locally calculated
sha256 7446831f659f7ebfd8d497acc7f05dfa8e31c6cb6ba1b45df33d4895ab80f5a6 COPYING
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 doc/COPYING
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 doc/COPYING.LESSER
+23
View File
@@ -0,0 +1,23 @@
################################################################################
#
# libtasn1
#
################################################################################
LIBTASN1_VERSION = 4.17.0
LIBTASN1_SITE = $(BR2_GNU_MIRROR)/libtasn1
LIBTASN1_DEPENDENCIES = host-bison host-pkgconf
LIBTASN1_LICENSE = GPL-3.0+ (tests, tools), LGPL-2.1+ (library)
LIBTASN1_LICENSE_FILES = COPYING doc/COPYING doc/COPYING.LESSER
LIBTASN1_CPE_ID_VENDOR = gnu
LIBTASN1_INSTALL_STAGING = YES
# We're patching fuzz/Makefile.am
LIBTASN1_AUTORECONF = YES
# 'missing' fallback logic botched so disable it completely
LIBTASN1_CONF_ENV = MAKEINFO="true"
LIBTASN1_CONF_OPTS = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
$(eval $(autotools-package))