aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-07 19:26:53 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-07 19:26:53 +0000
commite6fb0801d1ff2a45c5055857fd35a97c67dddbd8 (patch)
tree98685847c9ee70e5997466e29db22f8d46b30e36 /Makefile
parentcd0e1368bd0d3fa52996b81b553315c6b70f612d (diff)
downloadbusybox-w32-e6fb0801d1ff2a45c5055857fd35a97c67dddbd8.tar.gz
busybox-w32-e6fb0801d1ff2a45c5055857fd35a97c67dddbd8.tar.bz2
busybox-w32-e6fb0801d1ff2a45c5055857fd35a97c67dddbd8.zip
Add "make bloatcheck" to run Matt Mackall's bloat-o-meter. Copy an old
busybox_unstripped to busybox_old, build a new version, and "make bloatcheck" to see a detailed breakdown of the size difference. git-svn-id: svn://busybox.net/trunk/busybox@15022 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 974048fb9..a16a98c64 100644
--- a/Makefile
+++ b/Makefile
@@ -132,6 +132,8 @@ help:
132 @echo ' uninstall' 132 @echo ' uninstall'
133 @echo 133 @echo
134 @echo 'Development:' 134 @echo 'Development:'
135 @echo ' bloatcheck - show size difference between busybox_unstripped'
136 @echo ' and busybox_old
135 @echo ' check - run the test suite for all applets' 137 @echo ' check - run the test suite for all applets'
136 @echo ' checkhelp - check for missing help-entries in Config.in' 138 @echo ' checkhelp - check for missing help-entries in Config.in'
137 @echo ' randconfig - generate a random configuration' 139 @echo ' randconfig - generate a random configuration'
@@ -358,6 +360,9 @@ checkhelp:
358.PHONY: sizes 360.PHONY: sizes
359sizes: busybox_unstripped 361sizes: busybox_unstripped
360 $(NM) --size-sort $(<) 362 $(NM) --size-sort $(<)
363.PHONY: bloatcheck
364bloatcheck: busybox_old busybox_unstripped
365 @scripts/bloat-o-meter busybox_old busybox_unstripped
361 366
362.PHONY: objsizes 367.PHONY: objsizes
363objsizes: busybox_unstripped 368objsizes: busybox_unstripped