Skip to content

Commit

Permalink
Print more macos diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
pjonsson committed Sep 3, 2023
1 parent 758f199 commit d8a3361
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions macos.patch
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
diff --git a/Makefile.include b/Makefile.include
index 37a6d965a..144e74b96 100644
index 37a6d965a..139140b04 100644
--- a/Makefile.include
+++ b/Makefile.include
@@ -574,6 +574,7 @@ $(BUILD_DIR_BOARD)/%.$(TARGET): LIBNAME ?= $@
@@ -574,6 +574,8 @@ $(BUILD_DIR_BOARD)/%.$(TARGET): LIBNAME ?= $@
$(BUILD_DIR_BOARD)/%.$(TARGET): $(OBJECTDIR)/%.o $(LDSCRIPT) $(PROJECT_OBJECTFILES) $(PROJECT_LIBRARIES) $(CONTIKI_OBJECTFILES)
$(TRACE_LD)
$(Q)$(LD) $(LDFLAGS) $(TARGET_STARTFILES) $(sort ${filter-out $(LDSCRIPT) %.a,$^}) ${filter %.a,$^} $(TARGET_LIBEXTRAS) -o $(LIBNAME)
+ $(Q)size -x -m -l $(LIBNAME)
+ $(Q)nm -aP $(LIBNAME)
ifdef BINARY_SIZE_LOGFILE
$(Q)$(SIZE) $(LIBNAME) | grep $(BUILD_DIR_BOARD) >> $(BINARY_SIZE_LOGFILE)
endif
Expand Down

0 comments on commit d8a3361

Please sign in to comment.