From: "Sven Püschel" <s.pueschel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Sven Püschel" <s.pueschel@pengutronix.de>
Subject: [ptxdist] [PATCH 4/4] nanopb: version bump 0.4.8 -> 0.4.9.1
Date: Tue, 28 Oct 2025 15:38:41 +0100 [thread overview]
Message-ID: <20251028143921.512916-4-s.pueschel@pengutronix.de> (raw)
In-Reply-To: <20251028143921.512916-1-s.pueschel@pengutronix.de>
Set the CMake configure arguments based on the comment in the rule file
that only headers, generators and static libraries are installed.
Therefore disabled building a shared library. Also the static library
depends on the BUILD_RUNTIME setting, which is therefore enabled.
Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
---
rules/nanopb.make | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/rules/nanopb.make b/rules/nanopb.make
index 4b5927688..8df47f52d 100644
--- a/rules/nanopb.make
+++ b/rules/nanopb.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_NANOPB) += nanopb
#
# Paths and names
#
-NANOPB_VERSION := 0.4.8
-NANOPB_MD5 := 7c5305add7bf70b915c6eb1dc50cc20f
+NANOPB_VERSION := 0.4.9.1
+NANOPB_MD5 := 97b043a99b26eb1722460ee4c826ddba
NANOPB := nanopb-$(NANOPB_VERSION)
NANOPB_SUFFIX := tar.gz
NANOPB_URL := https://jpa.kapsi.fi/nanopb/download/$(NANOPB).$(NANOPB_SUFFIX)
@@ -33,7 +33,11 @@ NANOPB_LICENSE_FILES := file://LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f
#
NANOPB_CONF_TOOL := cmake
NANOPB_CONF_OPT := \
- $(CROSS_CMAKE_USR)
+ $(CROSS_CMAKE_USR) \
+ -DBUILD_SHARED_LIBS=OFF \
+ -DBUILD_STATIC_LIBS=ON \
+ -Dnanopb_BUILD_GENERATOR=ON \
+ -Dnanopb_BUILD_RUNTIME=ON
# Note: the package installs only headers, generators, and static libraries, so
# no targetinstall stage is needed.
--
2.47.3
prev parent reply other threads:[~2025-10-28 14:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-28 14:38 [ptxdist] [PATCH 1/4] host-abseil-cpp: new package Sven Püschel
2025-10-28 14:38 ` [ptxdist] [PATCH 2/4] protobuf: version bump 3.7.1 -> 33.0 Sven Püschel
2025-10-28 14:38 ` [ptxdist] [PATCH 3/4] protobuf-c: version bump 1.4.1 -> 1.5.2 Sven Püschel
2025-10-28 14:38 ` Sven Püschel [this message]
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=20251028143921.512916-4-s.pueschel@pengutronix.de \
--to=s.pueschel@pengutronix.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