make "individual applets" build less noisy.
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 8 Oct 2007 22:16:14 +0000 (22:16 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 8 Oct 2007 22:16:14 +0000 (22:16 -0000)
add *.tmp to list of files deleted by make mrproper.

Makefile
scripts/trylink

index 5cc4ab2913976d32c426928761edb247d2c4f2ed..6808e7d0fb1f6518979052cfa3b8a64df9f07f22 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -970,7 +970,7 @@ distclean: mrproper
        @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
 
index d6538f12e77c0f421d3cb69c99928f27094ed060..6905f86263d85db2c6f7d03a2383fdcde9f9e31a 100755 (executable)
@@ -151,10 +151,11 @@ if test "$CONFIG_FEATURE_SHARED_BUSYBOX" = y; then
 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 @@ int main(int argc, char **argv)
        }
        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,