[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    make sizes
From:       Bernhard Fischer <rep.nop () aon ! at>
Date:       2005-08-28 16:13:12
Message-ID: 20050828161312.GK15261 () aon ! at
[Download RAW message or body]

Hi,

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

thank you,
Bernhard


["busybox.make-sizes.diff" (text/plain)]

--- 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
 



_______________________________________________
busybox mailing list
busybox@busybox.net
http://codepoet.org/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic