Skip to content

Commit 9d7714f

Browse files
tmediccixiaoxiang781216
authored andcommitted
system/nxdiag: Change the order to generate the sysinfo.h file
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.
1 parent b08c296 commit 9d7714f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/nxdiag/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ sysinfo.h : checkpython3 $(INFO_DEPS)
113113
exit 1; \
114114
fi
115115

116-
context:: sysinfo.h
116+
depend:: sysinfo.h
117117

118118
distclean::
119119
$(call DELFILE, sysinfo.h)

0 commit comments

Comments
 (0)