From: Rob Landley Date: Thu, 1 Sep 2005 02:40:21 +0000 (-0000) Subject: Bernhard Fischer sent a patch to make "make sizes" work when building in X-Git-Tag: 1_1_0~799 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ac692b2cf7e4fc10430a193e8a489507429356de;p=oweals%2Fbusybox.git Bernhard Fischer sent a patch to make "make sizes" work when building in another output directory. --- 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