Skip to content

Commit

Permalink
system/nxdiag: Change the order to generate the sysinfo.h file
Browse files Browse the repository at this point in the history
The generation of `sys info.h` depends on evaluating whether
Espressif's HAL exists in the arch folder. However, cloning the HAL
itself happens in the `context` phase of the build, so it is
necessary to wait for it to finish before proceeding to the
evaluation in nxdiag. This is done by using the `depend` phase to
generate the `sysinfo.h` file.
  • Loading branch information
tmedicci committed Dec 6, 2024
1 parent b08c296 commit 73fb640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/nxdiag/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ sysinfo.h : checkpython3 $(INFO_DEPS)
exit 1; \
fi

context:: sysinfo.h
depend:: sysinfo.h

distclean::
$(call DELFILE, sysinfo.h)
Expand Down

0 comments on commit 73fb640

Please sign in to comment.