make sizes

Bernhard Fischer rep.nop at aon.at
Sun Aug 28 16:13:12 UTC 2005


Hi,

attachted patchlet ensures that the new sizes make target does also work
when building out of tree.

thank you,
Bernhard

-------------- next part --------------
--- busybox.oorig/Makefile	2005-08-28 11:31:05.000000000 +0200
+++ busybox/Makefile	2005-08-28 11:36:07.000000000 +0200
@@ -154,9 +154,11 @@
 	$(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
 



More information about the busybox mailing list