Initial Commit
- initial default booting image
This commit is contained in:
20
package/nettle/0001-disable-testsuite-examples.patch
Normal file
20
package/nettle/0001-disable-testsuite-examples.patch
Normal 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
10
package/nettle/Config.in
Normal 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
|
||||
6
package/nettle/nettle.hash
Normal file
6
package/nettle/nettle.hash
Normal 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
32
package/nettle/nettle.mk
Normal 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))
|
||||
Reference in New Issue
Block a user