Skip to content

Commit 8c72208

Browse files
tools/Unix.mk: Add debug_info target to print nxdiag output
1 parent bbd6931 commit 8c72208

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tools/Unix.mk

+8
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ all: $(BIN)
162162
.PHONY: context clean_context config oldconfig menuconfig nconfig qconfig gconfig export subdir_clean clean subdir_distclean distclean apps_clean apps_distclean
163163
.PHONY: pass1 pass1dep
164164
.PHONY: pass2 pass2dep
165+
.PHONY: debug_info
165166

166167
# Target used to copy include/nuttx/lib/math.h. If CONFIG_ARCH_MATH_H is
167168
# defined, then there is an architecture specific math.h header file
@@ -618,6 +619,13 @@ bootloader:
618619
clean_bootloader:
619620
$(Q) $(MAKE) -C $(ARCH_SRC) clean_bootloader
620621

622+
# debug_info: Parse nxdiag example output file (sysinfo.h) and print
623+
624+
debug_info:
625+
ifneq ($(APPDIR),)
626+
$(Q) $(MAKE) -C $(APPDIR) debug_info
627+
endif
628+
621629
# pass1dep: Create pass1 build dependencies
622630
# pass2dep: Create pass2 build dependencies
623631

0 commit comments

Comments
 (0)