Skip to content

Commit

Permalink
tools/Unix.mk: Add debug_info target to print nxdiag output
Browse files Browse the repository at this point in the history
  • Loading branch information
eren-terzioglu committed Dec 30, 2024
1 parent bbd6931 commit 8c72208
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tools/Unix.mk
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ all: $(BIN)
.PHONY: context clean_context config oldconfig menuconfig nconfig qconfig gconfig export subdir_clean clean subdir_distclean distclean apps_clean apps_distclean
.PHONY: pass1 pass1dep
.PHONY: pass2 pass2dep
.PHONY: debug_info

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

# debug_info: Parse nxdiag example output file (sysinfo.h) and print

debug_info:
ifneq ($(APPDIR),)
$(Q) $(MAKE) -C $(APPDIR) debug_info
endif

# pass1dep: Create pass1 build dependencies
# pass2dep: Create pass2 build dependencies

Expand Down

0 comments on commit 8c72208

Please sign in to comment.