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,40 @@
From 5c3d431bdb094c59997f2a23e31e83f815ab667c Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Thu, 1 Jul 2021 22:09:23 +0200
Subject: [PATCH] meson.build: set c_std to gnu99
Set c_std to gnu99 to avoid the following build failure with gcc 4.8:
In file included from /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/resolv.h:65:0,
from /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/glib-2.0/gio/gnetworking.h:40,
from ../libsoup/soup-address.c:14:
/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/arpa/nameser.h:115:2: error: unknown type name 'u_char'
const u_char *_msg, *_eom;
^
Fixes:
- http://autobuild.buildroot.org/results/56b9cb987e25b99d6fed16c537552f47c3376f21
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status:
https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/241]
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 4dfd8c15..a5ebc63a 100644
--- a/meson.build
+++ b/meson.build
@@ -2,6 +2,6 @@ project('libsoup', 'c',
version: '2.74.0',
meson_version : '>= 0.50',
license : 'LGPL2',
- default_options : 'c_std=c99')
+ default_options : 'c_std=gnu99')
gnome = import('gnome')
--
2.30.2
+39
View File
@@ -0,0 +1,39 @@
config BR2_PACKAGE_LIBSOUP
bool "libsoup"
depends on BR2_USE_WCHAR # glib2, gnutls and libpsl
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
depends on BR2_USE_MMU # glib2
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBPSL
select BR2_PACKAGE_SQLITE
help
libsoup is an HTTP client/server library. It uses GObject
and the GLib main loop, to integrate well with GNOME
applications.
https://wiki.gnome.org/Projects/libsoup
if BR2_PACKAGE_LIBSOUP
config BR2_PACKAGE_LIBSOUP_GNOME
bool "libsoup-gnome"
help
Build libsoup-gnome library.
config BR2_PACKAGE_LIBSOUP_SSL
bool "https support"
depends on !BR2_STATIC_LIBS # glib-networking, gnutls
select BR2_PACKAGE_GLIB_NETWORKING # runtime
select BR2_PACKAGE_GNUTLS # runtime
help
Enable HTTPS (SSL) support.
comment "libsoup https support needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
endif
comment "libsoup needs a toolchain w/ wchar, threads"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+4
View File
@@ -0,0 +1,4 @@
# From https://ftp.gnome.org/pub/GNOME/sources/libsoup/2.74/libsoup-2.74.0.sha256sum
sha256 33b1d4e0d639456c675c227877e94a8078d731233e2d57689c11abcef7d3c48e libsoup-2.74.0.tar.xz
# Locally calculated
sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING
+56
View File
@@ -0,0 +1,56 @@
################################################################################
#
# libsoup
#
################################################################################
LIBSOUP_VERSION_MAJOR = 2.74
LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).0
LIBSOUP_SOURCE = libsoup-$(LIBSOUP_VERSION).tar.xz
LIBSOUP_SITE = http://ftp.gnome.org/pub/gnome/sources/libsoup/$(LIBSOUP_VERSION_MAJOR)
LIBSOUP_LICENSE = LGPL-2.0+
LIBSOUP_LICENSE_FILES = COPYING
LIBSOUP_CPE_ID_VENDOR = gnome
LIBSOUP_INSTALL_STAGING = YES
LIBSOUP_DEPENDENCIES = \
host-intltool \
host-libglib2 \
host-pkgconf \
libglib2 \
libpsl \
libxml2 \
sqlite \
$(TARGET_NLS_DEPENDENCIES)
LIBSOUP_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
LIBSOUP_CONF_OPTS = \
-Dgssapi=disabled \
-Dgtk_doc=false \
-Dntlm=disabled \
-Dsysprof=disabled \
-Dtests=false \
-Dtls_check=false \
-Dvapi=disabled
ifeq ($(BR2_PACKAGE_BROTLI),y)
LIBSOUP_CONF_OPTS += -Dbrotli=enabled
LIBSOUP_DEPENDENCIES += brotli
else
LIBSOUP_CONF_OPTS += -Dbrotli=disabled
endif
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
LIBSOUP_CONF_OPTS += -Dintrospection=enabled
LIBSOUP_DEPENDENCIES += gobject-introspection
else
LIBSOUP_CONF_OPTS += -Dintrospection=disabled
endif
ifeq ($(BR2_PACKAGE_LIBSOUP_GNOME),y)
LIBSOUP_CONF_OPTS += -Dgnome=true
else
LIBSOUP_CONF_OPTS += -Dgnome=false
endif
$(eval $(meson-package))