You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ar...@apache.org on 2026/01/13 21:54:17 UTC

(nuttx) branch master updated (2740e40ee7f -> 79d7ada4557)

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

archer pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


    from 2740e40ee7f drivers/virtio: Use arc4random_buf to generate MAC address.
     new 4162e01a22d cmake(bugfix):Add BEFORE the inc path of the apps and library
     new 79d7ada4557 cmake(bugfix):keep include directory order in cmake application

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 cmake/nuttx_add_application.cmake | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)


(nuttx) 01/02: cmake(bugfix):Add BEFORE the inc path of the apps and library

Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 4162e01a22db611f2066056cc8f9eccf9745663e
Author: xuxin19 <xu...@xiaomi.com>
AuthorDate: Wed Feb 26 20:48:02 2025 +0800

    cmake(bugfix):Add BEFORE the inc path of the apps and library
    
    Because we expect private configuration to always OVERRIDE public configuration
    
    Signed-off-by: xuxin19 <xu...@xiaomi.com>
---
 cmake/nuttx_add_application.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/nuttx_add_application.cmake b/cmake/nuttx_add_application.cmake
index 1c8259e3a76..e17b32ad980 100644
--- a/cmake/nuttx_add_application.cmake
+++ b/cmake/nuttx_add_application.cmake
@@ -234,7 +234,7 @@ function(nuttx_add_application)
 
     if(INCLUDE_DIRECTORIES)
       foreach(inc ${INCLUDE_DIRECTORIES})
-        target_include_directories(${TARGET} PRIVATE ${inc})
+        target_include_directories(${TARGET} BEFORE PRIVATE ${inc})
       endforeach()
     endif()
   endif()


(nuttx) 02/02: cmake(bugfix):keep include directory order in cmake application

Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 79d7ada455711751d3cac5a3d1468ef7e3966165
Author: xuxin19 <xu...@xiaomi.com>
AuthorDate: Wed Aug 6 10:31:12 2025 +0800

    cmake(bugfix):keep include directory order in cmake application
    
    Adding a for loop will reverse the order of addition.
    
    Signed-off-by: xuxin19 <xu...@xiaomi.com>
---
 cmake/nuttx_add_application.cmake | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/cmake/nuttx_add_application.cmake b/cmake/nuttx_add_application.cmake
index e17b32ad980..efee621dda7 100644
--- a/cmake/nuttx_add_application.cmake
+++ b/cmake/nuttx_add_application.cmake
@@ -233,9 +233,8 @@ function(nuttx_add_application)
     endif()
 
     if(INCLUDE_DIRECTORIES)
-      foreach(inc ${INCLUDE_DIRECTORIES})
-        target_include_directories(${TARGET} BEFORE PRIVATE ${inc})
-      endforeach()
+      target_include_directories(${TARGET} BEFORE
+                                 PRIVATE ${INCLUDE_DIRECTORIES})
     endif()
   endif()