This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 227d3ec35 netutils/nanopb: fix unpack step for MACOS
227d3ec35 is described below

commit 227d3ec35bb30bacbab5140b7e2ceef33c0944bc
Author: Petro Karashchenko <petro.karashche...@gmail.com>
AuthorDate: Mon Jul 14 08:45:24 2025 +0200

    netutils/nanopb: fix unpack step for MACOS
    
    Currently NANOPB_UNPACK step in Makefile uses nanopb binary name with
    hardcoded suffix '-linux-x86' that is not suitable for MACOS x86.
    This commit replaces the hardcoded nanopb binary name with name that
    is derived from NANOPB_NAME variable that reflects the nanopb binary
    that is selected based on host OS selected in the build system
    
    Signed-off-by: Petro Karashchenko <petro.karashche...@gmail.com>
---
 netutils/nanopb/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/netutils/nanopb/Makefile b/netutils/nanopb/Makefile
index c3624e7ad..3c7dd6d22 100644
--- a/netutils/nanopb/Makefile
+++ b/netutils/nanopb/Makefile
@@ -41,7 +41,7 @@ $(NANOPB_TARBALL):
 
 $(NANOPB_UNPACK): $(NANOPB_TARBALL)
        $(Q) tar zxf $(NANOPB_TARBALL)
-       $(Q) mv nanopb-$(NANOPB_VERSION)-linux-x86 $(NANOPB_UNPACK)
+       $(Q) mv $(NANOPB_NAME) $(NANOPB_UNPACK)
        $(Q) mv $(NANOPB_TARBALL) $(NANOPB_UNPACK)
 
 ifeq ($(wildcard $(NANOPB_UNPACK)),)

Reply via email to