initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
Makefile: disable testsuite and example
|
||||
|
||||
We do not need them in the context of Buildroot.
|
||||
|
||||
Also, they break for a shared-only build (but it's fixed in patch 0001).
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
|
||||
diff -durN nettle-2.7.1.orig/Makefile.in nettle-2.7.1/Makefile.in
|
||||
--- nettle-2.7.1.orig/Makefile.in 2013-05-28 16:21:54.000000000 +0200
|
||||
+++ nettle-2.7.1/Makefile.in 2014-12-12 19:57:12.499805574 +0100
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
FAT_TEST_LIST = @FAT_TEST_LIST@
|
||||
|
||||
-SUBDIRS = tools testsuite examples
|
||||
+SUBDIRS = tools
|
||||
|
||||
include config.make
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_NETTLE
|
||||
bool "nettle"
|
||||
select BR2_PACKAGE_GMP
|
||||
help
|
||||
Nettle is a cryptographic library that is designed to fit
|
||||
easily in more or less any context: In crypto toolkits for
|
||||
object-oriented languages, in applications like LSH or
|
||||
GNUPG, or even in kernel space
|
||||
|
||||
https://www.lysator.liu.se/~nisse/nettle/
|
||||
@@ -0,0 +1,6 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
# https://ftp.gnu.org/gnu/nettle/nettle-3.7.3.tar.gz.sig
|
||||
sha256 661f5eb03f048a3b924c3a8ad2515d4068e40f67e774e8a26827658007e3bcf0 nettle-3.7.3.tar.gz
|
||||
# Locally calculated
|
||||
sha256 a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c COPYING.LESSERv3
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYINGv2
|
||||
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# nettle
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NETTLE_VERSION = 3.7.3
|
||||
NETTLE_SITE = http://www.lysator.liu.se/~nisse/archive
|
||||
NETTLE_DEPENDENCIES = gmp
|
||||
NETTLE_INSTALL_STAGING = YES
|
||||
NETTLE_LICENSE = Dual GPL-2.0+/LGPL-3.0+
|
||||
NETTLE_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2
|
||||
NETTLE_CPE_ID_VENDOR = nettle_project
|
||||
# don't include openssl support for (unused) examples as it has problems
|
||||
# with static linking
|
||||
NETTLE_CONF_OPTS = --disable-openssl
|
||||
|
||||
# ARM assembly requires v6+ ISA
|
||||
ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV7M),y)
|
||||
NETTLE_CONF_OPTS += --disable-assembler
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
||||
NETTLE_CONF_OPTS += --enable-arm-neon
|
||||
else
|
||||
NETTLE_CONF_OPTS += --disable-arm-neon
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user