summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley2005-09-01 02:40:21 +0000
committerRob Landley2005-09-01 02:40:21 +0000
commitac692b2cf7e4fc10430a193e8a489507429356de (patch)
tree4da88e988845f292a2f0ecfcd98051bf20b67cef
parent91397707645a63cf2e8290d21f5fc5e41dfa4a25 (diff)
downloadbusybox-ac692b2cf7e4fc10430a193e8a489507429356de.zip
busybox-ac692b2cf7e4fc10430a193e8a489507429356de.tar.gz
Bernhard Fischer sent a patch to make "make sizes" work when building in
another output directory.
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0358672..c96c737 100644
--- a/Makefile
+++ b/Makefile
@@ -154,8 +154,9 @@ check: busybox
$(top_srcdir)/testsuite/runtest
sizes:
- rm -f busybox
- make STRIPCMD=/bin/true
+ -rm -f busybox
+ $(MAKE) top_srcdir=$(top_srcdir) top_builddir=$(top_builddir) \
+ -f $(top_srcdir)/Makefile STRIPCMD=/bin/true
nm --size-sort busybox
# Documentation Targets
doc: docs/busybox.pod docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html