From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 28 Oct 2025 15:39:50 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vDkrW-00CiMf-1J for lore@lore.pengutronix.de; Tue, 28 Oct 2025 15:39:50 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vDkrW-0003zV-45; Tue, 28 Oct 2025 15:39:50 +0100 Received: from dude04.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::ac]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vDkr5-0003eZ-U8; Tue, 28 Oct 2025 15:39:23 +0100 From: =?UTF-8?q?Sven=20P=C3=BCschel?= To: ptxdist@pengutronix.de Date: Tue, 28 Oct 2025 15:38:41 +0100 Message-ID: <20251028143921.512916-4-s.pueschel@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251028143921.512916-1-s.pueschel@pengutronix.de> References: <20251028143921.512916-1-s.pueschel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH 4/4] nanopb: version bump 0.4.8 -> 0.4.9.1 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: =?UTF-8?q?Sven=20P=C3=BCschel?= Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false 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 --- 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