initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
From 7350874f6f62314af4c8ec1973c91d305a6f4ddc Mon Sep 17 00:00:00 2001
|
||||
From: David Michael <fedora.dm0@gmail.com>
|
||||
Date: Fri, 26 Mar 2021 16:06:50 +0900
|
||||
Subject: [PATCH] build: Fix generation of lock-obj-pub.native.h for cross
|
||||
build.
|
||||
|
||||
* src/gen-lock-obj.sh: Capture echo output with quotes.
|
||||
|
||||
--
|
||||
|
||||
Fixes-commit: 99ae862a96a569724f49a604ebb7d3f6d2c2d374
|
||||
Signed-off-by: David Michael <fedora.dm0@gmail.com>
|
||||
Upstream: 33593864cd54143db594c4237bba41e14179061c
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
src/gen-lock-obj.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/gen-lock-obj.sh b/src/gen-lock-obj.sh
|
||||
index a710f0c..258eec6 100755
|
||||
--- a/src/gen-lock-obj.sh
|
||||
+++ b/src/gen-lock-obj.sh
|
||||
@@ -38,7 +38,7 @@
|
||||
# AWK=gawk ./gen-lock-obj.sh
|
||||
#
|
||||
|
||||
-if test -n `echo -n`; then
|
||||
+if test -n "`echo -n`"; then
|
||||
ECHO_C='\c'
|
||||
ECHO_N=''
|
||||
else
|
||||
--
|
||||
2.31.1
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
From 7ede0d4ce19e0ed14cd1cec81ba7df4e467f1eeb Mon Sep 17 00:00:00 2001
|
||||
From: NIIBE Yutaka <gniibe@fsij.org>
|
||||
Date: Mon, 21 Jun 2021 12:16:20 +0900
|
||||
Subject: [PATCH] build: Fix --disable-threads.
|
||||
|
||||
* src/gen-lock-obj.sh: Fix generating '}}}'.
|
||||
|
||||
--
|
||||
|
||||
GnuPG-bug-id: 5495
|
||||
Reported-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Fixes-commit: 1fb90a7da186ee2ee098a666f6f3a35bb1720e59
|
||||
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
||||
[Retrieved from:
|
||||
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=commit;h=220a427b4f997ef6af1b2d4e82ef1dc96e0cd6ff]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
src/gen-lock-obj.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/gen-lock-obj.sh b/src/gen-lock-obj.sh
|
||||
index 258eec6..014667f 100755
|
||||
--- a/src/gen-lock-obj.sh
|
||||
+++ b/src/gen-lock-obj.sh
|
||||
@@ -121,10 +121,10 @@ while test "$i" -lt $ac_mtx_size; do
|
||||
fi
|
||||
i=$(( i + 1 ))
|
||||
done
|
||||
+echo '}}}'
|
||||
fi
|
||||
|
||||
cat <<'EOF'
|
||||
-}}}
|
||||
##
|
||||
## Local Variables:
|
||||
## mode: c
|
||||
--
|
||||
2.31.1
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
config BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
|
||||
bool
|
||||
# see src/syscfg/
|
||||
default y if \
|
||||
BR2_aarch64 || BR2_aarch64_eb || BR2_arm || \
|
||||
BR2_armeb || BR2_i386 || BR2_mips || \
|
||||
BR2_mipsel || BR2_mips64 || BR2_mips64el || \
|
||||
BR2_m68k || BR2_nios2 || BR2_powerpc || \
|
||||
BR2_powerpc64 || BR2_powerpc64le || BR2_RISCV_64 || \
|
||||
BR2_RISCV_32 || BR2_s390x || BR2_sh4 || \
|
||||
BR2_sh4eb || BR2_sh4a || BR2_sh4aeb || \
|
||||
BR2_sparc || BR2_sparc64 || BR2_x86_64
|
||||
|
||||
config BR2_PACKAGE_LIBGPG_ERROR
|
||||
bool "libgpg-error"
|
||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
|
||||
help
|
||||
Libgpg-error is a small library with error codes and
|
||||
descriptions shared by most GnuPG related software.
|
||||
|
||||
https://www.gnupg.org/related_software/libgpg-error
|
||||
|
||||
config BR2_PACKAGE_LIBGPG_ERROR_SYSCFG
|
||||
string
|
||||
default "aarch64-unknown-linux-gnu" \
|
||||
if BR2_aarch64 || BR2_aarch64_eb
|
||||
default "arm-unknown-linux-gnueabi" \
|
||||
if BR2_arm || BR2_armeb
|
||||
default "i686-pc-linux-gnu" \
|
||||
if BR2_i386
|
||||
default "mips-unknown-linux-gnu" \
|
||||
if BR2_mips || BR2_mipsel
|
||||
default "mips64el-unknown-linux-gnuabi64" \
|
||||
if BR2_mips64 || BR2_mips64el
|
||||
default "m68k-unknown-linux-gnu" \
|
||||
if BR2_m68k
|
||||
default "nios2-unknown-linux-gnu" \
|
||||
if BR2_nios2
|
||||
default "powerpc-unknown-linux-gnu" \
|
||||
if BR2_powerpc
|
||||
default "powerpc64-unknown-linux-gnu" \
|
||||
if BR2_powerpc64 || BR2_powerpc64le
|
||||
default "riscv32-unknown-linux-gnu" \
|
||||
if BR2_RISCV_32
|
||||
default "riscv64-unknown-linux-gnu" \
|
||||
if BR2_RISCV_64
|
||||
default "s390x-unknown-linux-gnu" \
|
||||
if BR2_s390x
|
||||
default "sh4-unknown-linux-gnu" \
|
||||
if BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb
|
||||
default "sparc-unknown-linux-gnu" \
|
||||
if BR2_sparc
|
||||
default "sparc64-unknown-linux-gnu" \
|
||||
if BR2_sparc64
|
||||
default "x86_64-unknown-linux-gnu" \
|
||||
if BR2_x86_64
|
||||
@@ -0,0 +1,10 @@
|
||||
# From https://www.gnupg.org/download/integrity_check.html
|
||||
sha1 5e620d71fc24d287a7ac2460b1d819074bb8b9bb libgpg-error-1.42.tar.bz2
|
||||
|
||||
# Locally calculated after checking pgp signature
|
||||
# https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.42.tar.bz2.sig
|
||||
# using key D8692123C4065DEA5E0F3AB5249B39D24F25E3B6
|
||||
sha256 fc07e70f6c615f8c4f590a8e37a9b8dd2e2ca1e9408f8e60459c67452b925e23 libgpg-error-1.42.tar.bz2
|
||||
# Locally calculated
|
||||
sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING
|
||||
sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LIB
|
||||
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# libgpg-error
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBGPG_ERROR_VERSION = 1.42
|
||||
LIBGPG_ERROR_SITE = https://www.gnupg.org/ftp/gcrypt/libgpg-error
|
||||
LIBGPG_ERROR_SOURCE = libgpg-error-$(LIBGPG_ERROR_VERSION).tar.bz2
|
||||
LIBGPG_ERROR_LICENSE = GPL-2.0+, LGPL-2.1+
|
||||
LIBGPG_ERROR_LICENSE_FILES = COPYING COPYING.LIB
|
||||
LIBGPG_ERROR_CPE_ID_VENDOR = gnupg
|
||||
LIBGPG_ERROR_INSTALL_STAGING = YES
|
||||
LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config
|
||||
LIBGPG_ERROR_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
||||
LIBGPG_ERROR_CONF_OPTS = --disable-tests \
|
||||
--host=$(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG)
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
LIBGPG_ERROR_CONF_OPTS += --enable-threads
|
||||
else
|
||||
LIBGPG_ERROR_CONF_OPTS += --disable-threads
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user