svn commit: trunk/busybox: scripts

vda at busybox.net vda at busybox.net
Mon Oct 8 22:16:14 UTC 2007


Author: vda
Date: 2007-10-08 15:16:14 -0700 (Mon, 08 Oct 2007)
New Revision: 20207

Log:
make "individual applets" build less noisy.
add *.tmp to list of files deleted by make mrproper.



Modified:
   trunk/busybox/Makefile
   trunk/busybox/scripts/trylink


Changeset:
Modified: trunk/busybox/Makefile
===================================================================
--- trunk/busybox/Makefile	2007-10-08 20:45:42 UTC (rev 20206)
+++ trunk/busybox/Makefile	2007-10-08 22:16:14 UTC (rev 20207)
@@ -970,7 +970,7 @@
 	@find $(srctree) $(RCS_FIND_IGNORE) \
 	 	\( -name '*.orig' -o -name '*.rej' -o -name '*~' \
 		-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
-	 	-o -name '.*.rej' -o -size 0 \
+	 	-o -name '.*.rej' -o -name '*.tmp' -o -size 0 \
 		-o -name '*%' -o -name '.*.cmd' -o -name 'core' \) \
 		-type f -print | xargs rm -f
 

Modified: trunk/busybox/scripts/trylink
===================================================================
--- trunk/busybox/scripts/trylink	2007-10-08 20:45:42 UTC (rev 20206)
+++ trunk/busybox/scripts/trylink	2007-10-08 22:16:14 UTC (rev 20207)
@@ -151,10 +151,11 @@
 fi
 
 if test "$CONFIG_FEATURE_INDIVIDUAL" = y; then
+    echo "Linking individual applets against libbusybox (see $sharedlib_dir/*)"
     gcc -DNAME_MAIN_CNAME -E -include include/autoconf.h include/applets.h \
     | grep -v "^#" \
     | grep -v "^$" \
-    > applet.lst
+    > applet_lst.tmp
     while read name main junk; do
 
 	echo "\
@@ -183,9 +184,8 @@
 	}
 	rm -- "$sharedlib_dir/applet.c" $EXE.out
 	strip -s --remove-section=.note --remove-section=.comment $EXE
-	echo "applet linked against libbusybox: $EXE"
 
-    done <applet.lst
+    done <applet_lst.tmp
 fi
 
 # libbusybox.so is needed only for -lbusybox at link time,




More information about the busybox-cvs mailing list