Re: [PR] tools/CMakeLists.txt: Improvements to CMakeLists.txt file [nuttx]

2025-05-17 Thread via GitHub


lupyuen merged PR #16402:
URL: https://github.com/apache/nuttx/pull/16402


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [PR] tools/CMakeLists.txt: Improvements to CMakeLists.txt file [nuttx]

2025-05-16 Thread via GitHub


lupyuen commented on PR #16402:
URL: https://github.com/apache/nuttx/pull/16402#issuecomment-2887850720

   NuttX Mirror is failing the build too 🤔
   - https://github.com/apache/nuttx/issues/16404


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [PR] tools/CMakeLists.txt: Improvements to CMakeLists.txt file [nuttx]

2025-05-16 Thread via GitHub


simbit18 commented on PR #16402:
URL: https://github.com/apache/nuttx/pull/16402#issuecomment-2887224950

   @xiaoxiang781216 @acassis  @lupyuen   this does not concern this PR
   
   

   Configuration/Tool: imx93-evk/bootloader
   2025-05-16 16:05:35
   

 Cleaning...
 Configuring...
 Building NuttX...
   make: *** [tools/Unix.mk:562: nuttx] Error 1
   make: Target 'all' not remade because of errors.
 [1/1] Normalize imx93-evk/bootloader
   HEAD detached at pull/16402/merge
   Untracked files:
 (use "git add ..." to include in what will be committed)
tools/imx9/build_info.h
tools/imx9/firmware-ele-imx-1.3.0-17945fc/
tools/imx9/fspi_fcb_gen.sh
tools/imx9/fspi_header
tools/imx9/imx8qxb0.c
tools/imx9/mkimage_common.h
tools/imx9/mkimage_imx8.c
tools/imx9/mkimage_imx9


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



[PR] tools/CMakeLists.txt: Improvements to CMakeLists.txt file [nuttx]

2025-05-16 Thread via GitHub


simbit18 opened a new pull request, #16402:
URL: https://github.com/apache/nuttx/pull/16402

   ## Summary
   
   More aligned to the tools/Makefile.host file
   
   Added:
   
   - The option() command  It provides a way to enable or disable targets of 
the project based on the user's preference.
  Default
  option(NUTTX_INCLUDE_ALL_TOOLS "Build all NuttX Host Tools" ON)
   
   - Checking host system for compilation options.
   
   - Tools configure, mkconfig, mksymtab and mkversion.
   
   ## Impact
   
   Impact on user: NO
   
   Impact on build: NO
   
   Impact on hardware: NO
   
   Impact on documentation: NO
   
   Impact on security: NO
   
   Impact on compatibility: NO
   
   ## Testing
   
   locally  MSYS2  and Windows Native
   
   building only mkversion
   cmake -B build -DNUTTX_INCLUDE_ALL_TOOLS=OFF -DNUTTX_INCLUDE_MKVERSION=ON
   
   ```
   test@TEST MSYS ~/nuttx/tools
   $ cmake -B build -DNUTTX_INCLUDE_ALL_TOOLS=OFF -DNUTTX_INCLUDE_MKVERSION=ON
   -- The C compiler identification is GNU 13.2.0
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Check for working C compiler: /usr/bin/cc.exe - skipped
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- NuttX Host Tools
   -- CMake C compiler: GNU
   -- CMake system name: MSYS
   -- CMake host system processor: x86_64
  TOOLS_DIR path is "/home/test/nuttx"
  HOST = WINDOWS MSYS
   -- Configuring done (1.5s)
   -- Generating done (0.0s)
   -- Build files have been written to: /home/test/nuttx/tools/build
   
   test@TEST MSYS ~/nuttx/tools
   $ cmake --build build
   [ 33%] Building C object CMakeFiles/mkversion.dir/mkversion.c.o
   [ 66%] Building C object CMakeFiles/mkversion.dir/cfgdefine.c.o
   [100%] Linking C executable mkversion.exe
   [100%] Built target mkversion
   
   ```
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]