summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-09-01 02:40:21 +0000
committerRob Landley <rob@landley.net>2005-09-01 02:40:21 +0000
commitac692b2cf7e4fc10430a193e8a489507429356de (patch)
tree4da88e988845f292a2f0ecfcd98051bf20b67cef
parent91397707645a63cf2e8290d21f5fc5e41dfa4a25 (diff)
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 035867226..c96c7373b 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