svn commit: trunk/busybox/scripts

aldot at busybox.net aldot at busybox.net
Thu Sep 14 15:07:48 UTC 2006


Author: aldot
Date: 2006-09-14 08:07:48 -0700 (Thu, 14 Sep 2006)
New Revision: 16119

Log:
- make sure that the 'build' dir exists even if we are about to build just one applet.


Modified:
   trunk/busybox/scripts/individual


Changeset:
Modified: trunk/busybox/scripts/individual
===================================================================
--- trunk/busybox/scripts/individual	2006-09-14 15:04:31 UTC (rev 16118)
+++ trunk/busybox/scripts/individual	2006-09-14 15:07:48 UTC (rev 16119)
@@ -13,6 +13,13 @@
 # Make our prerequisites.
 
 make busybox.links include/bb_config.h $(pwd)/{libbb/libbb.a,archival/libunarchive/libunarchive.a,coreutils/libcoreutils/libcoreutils.a,networking/libiproute/libiproute.a}
+
+else
+# Could very well be that we want to build an individual applet but have no
+# 'build' dir yet..
+
+test -d ./build || mkdir build
+
 fi
 
 # About 3/5 of the applets build from one .c file (with the same name as the




More information about the busybox-cvs mailing list