This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 9d7714f84 system/nxdiag: Change the order to generate the sysinfo.h
file
9d7714f84 is described below
commit 9d7714f8430a1cb4c017dacd46f50247d1997779
Author: Tiago Medicci <[email protected]>
AuthorDate: Thu Dec 5 16:08:55 2024 -0300
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.
---
system/nxdiag/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/system/nxdiag/Makefile b/system/nxdiag/Makefile
index f25d17aac..0da0a0a84 100644
--- a/system/nxdiag/Makefile
+++ b/system/nxdiag/Makefile
@@ -113,7 +113,7 @@ sysinfo.h : checkpython3 $(INFO_DEPS)
exit 1; \
fi
-context:: sysinfo.h
+depend:: sysinfo.h
distclean::
$(call DELFILE, sysinfo.h)