simbit18 opened a new pull request, #16169: URL: https://github.com/apache/nuttx/pull/16169
## Summary fix ``` Traceback (most recent call last): File "/home/ubuntu20042/nuttxspace/nuttx/tools/host_info_dump.py", line 575, in <module> header = generate_header(args) File "/home/ubuntu20042/nuttxspace/nuttx/tools/host_info_dump.py", line 466, in generate_header sys.path.append(os.path.abspath(vendor_specific_module_path)) UnboundLocalError: local variable 'vendor_specific_module_path' referenced before assignment make: *** [tools/Unix.mk:644: host_info] Error 1 ``` ## Impact Impact on user: This PR fix make host_info. Impact on build: This PR fix make host_info. Impact on hardware: NO Impact on documentation: NO Impact on security: NO Impact on compatibility: NO ## Testing local Ubuntu Linux tools/configure.sh -l sim:nsh **Without this PR** ``` ubuntu20042@Unuttx:~/nuttxspace/nuttx$ make host_info file sysinfo.h not exists Traceback (most recent call last): File "/home/ubuntu20042/nuttxspace/nuttx/tools/host_info_dump.py", line 575, in <module> header = generate_header(args) File "/home/ubuntu20042/nuttxspace/nuttx/tools/host_info_dump.py", line 466, in generate_header sys.path.append(os.path.abspath(vendor_specific_module_path)) UnboundLocalError: local variable 'vendor_specific_module_path' referenced before assignment make: *** [tools/Unix.mk:644: host_info] Error 1 ``` **With this PR** ``` ubuntu20042@Unuttx:~/nuttxspace/nuttx$ make host_info file sysinfo.h not exists NuttX CFLAGS: --g\ -fomit-frame-pointer -fprofile-arcs -ftest-coverage -fno-inline -fno-common -fvisibility=hidden -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes ..... ``` -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org