Thanks, applied as 4a1a4c70b416ccf05df903d4abc07a1daafb0a6e.

Michael

[sent from post-receive hook]

On Fri, 07 Nov 2025 09:53:26 +0100, Sven Püschel <[email protected]> 
wrote:
> 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 <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/nanopb.make b/rules/nanopb.make
> index 4b592768830d..8df47f52d7c7 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.

Reply via email to