Browse Source

[build] Automatically sort the list of constituent object sizes

tags/v0.9.8
Michael Brown 16 years ago
parent
commit
a1eb4ffdf7
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/Makefile.housekeeping

+ 2
- 1
src/Makefile.housekeeping View File

658
 $(BIN)/%.objs : $(BIN)/%.tmp
658
 $(BIN)/%.objs : $(BIN)/%.tmp
659
 	$(Q)$(ECHO) $(call objs_list,$<)
659
 	$(Q)$(ECHO) $(call objs_list,$<)
660
 $(BIN)/%.sizes : $(BIN)/%.tmp
660
 $(BIN)/%.sizes : $(BIN)/%.tmp
661
-	$(Q)$(SIZE) -t $(foreach OBJ,$(call objs_list,$<),$(BIN)/$(OBJ).o)
661
+	$(Q)$(SIZE) -t $(foreach OBJ,$(call objs_list,$<),$(BIN)/$(OBJ).o) | \
662
+		sort -g
662
 
663
 
663
 # Get dependency list for the specified target
664
 # Get dependency list for the specified target
664
 #
665
 #

Loading…
Cancel
Save