mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Markus Heidelberg <m.heidelberg@cab.de>
To: <ptxdist@pengutronix.de>
Cc: Markus Heidelberg <m.heidelberg@cab.de>
Subject: [ptxdist] [PATCH 1/3] host-nettle: new package
Date: Mon, 11 Mar 2024 08:43:06 +0100	[thread overview]
Message-ID: <20240311074308.34315-2-m.heidelberg@cab.de> (raw)
In-Reply-To: <20240311074308.34315-1-m.heidelberg@cab.de>

Will be needed for host-gnutls.

Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de>
---

There are several configure options not set in the target nettle package
yet. Is it common procedure to amend them there as well? I don't
use/need the target package myself, though.

 rules/host-nettle.in   |  5 +++++
 rules/host-nettle.make | 45 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 rules/host-nettle.in
 create mode 100644 rules/host-nettle.make

diff --git a/rules/host-nettle.in b/rules/host-nettle.in
new file mode 100644
index 000000000..fc2d7f165
--- /dev/null
+++ b/rules/host-nettle.in
@@ -0,0 +1,5 @@
+## SECTION=hosttools_noprompt
+
+config HOST_NETTLE
+	tristate
+	default y if ALLYES
diff --git a/rules/host-nettle.make b/rules/host-nettle.make
new file mode 100644
index 000000000..61e48b552
--- /dev/null
+++ b/rules/host-nettle.make
@@ -0,0 +1,45 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Markus Heidelberg <m.heidelberg@cab.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_NETTLE) += host-nettle
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_NETTLE_CONF_TOOL	:= autoconf
+HOST_NETTLE_CONF_OPT	:=  \
+	$(HOST_AUTOCONF) \
+	--enable-public-key \
+	--enable-assembler \
+	--disable-static \
+	--enable-shared \
+	--disable-openssl \
+	--disable-gcov \
+	--disable-documentation \
+	--disable-fat \
+	--disable-arm-neon \
+	--disable-arm64-crypto \
+	--disable-x86-aesni \
+	--disable-x86-sha-ni \
+	--disable-x86-pclmul \
+	--disable-power-crypto-ext \
+	--disable-power-altivec \
+	--disable-s390x-vf \
+	--disable-s390x-msa \
+	--enable-mini-gmp \
+	--without-include-path \
+	--without-lib-path
+
+# vim: syntax=make
-- 
2.34.1




  reply	other threads:[~2024-03-11  7:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-11  7:43 [ptxdist] [PATCH 0/3] Fix U-Boot build with missing host libs Markus Heidelberg
2024-03-11  7:43 ` Markus Heidelberg [this message]
2024-03-19  6:44   ` [ptxdist] [APPLIED] host-nettle: new package Michael Olbrich
2024-03-11  7:43 ` [ptxdist] [PATCH 2/3] host-gnutls: " Markus Heidelberg
2024-03-19  6:44   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-03-11  7:43 ` [ptxdist] [PATCH 3/3] u-boot: new options to select host-gnutls and host-libuuid Markus Heidelberg
2024-03-19  6:44   ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240311074308.34315-2-m.heidelberg@cab.de \
    --to=m.heidelberg@cab.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox