Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -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

10
package/nettle/Config.in Normal file
View File

@@ -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://directory.fsf.org/wiki/Nettle

View File

@@ -0,0 +1,6 @@
# Locally calculated after checking pgp signature
# https://ftp.gnu.org/gnu/nettle/nettle-3.10.2.tar.gz.sig
sha256 fe9ff51cb1f2abb5e65a6b8c10a92da0ab5ab6eaf26e7fc2b675c45f1fb519b5 nettle-3.10.2.tar.gz
# Locally calculated
sha256 a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c COPYING.LESSERv3
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYINGv2

32
package/nettle/nettle.mk Normal file
View File

@@ -0,0 +1,32 @@
################################################################################
#
# nettle
#
################################################################################
NETTLE_VERSION = 3.10.2
NETTLE_SITE = $(BR2_GNU_MIRROR)/nettle
NETTLE_DEPENDENCIES = host-m4 gmp
NETTLE_INSTALL_STAGING = YES
NETTLE_LICENSE = GPL-2.0+ or LGPL-3.0+
NETTLE_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2
NETTLE_CPE_ID_VALID = YES
# don't include openssl support for (unused) examples as it has problems
# with static linking
NETTLE_CONF_OPTS = --disable-openssl
HOST_NETTLE_DEPENDENCIES = host-m4 host-gmp
# 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))
$(eval $(host-autotools-package))