make "individual applets" build less noisy.

add *.tmp to list of files deleted by make mrproper.
This commit is contained in:
Denis Vlasenko 2007-10-08 22:16:14 +00:00
parent d419a9f830
commit e9fd69c8e8
2 changed files with 4 additions and 4 deletions

View File

@ -970,7 +970,7 @@ distclean: mrproper
@find $(srctree) $(RCS_FIND_IGNORE) \ @find $(srctree) $(RCS_FIND_IGNORE) \
\( -name '*.orig' -o -name '*.rej' -o -name '*~' \ \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \ -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' \) \ -o -name '*%' -o -name '.*.cmd' -o -name 'core' \) \
-type f -print | xargs rm -f -type f -print | xargs rm -f

View File

@ -151,10 +151,11 @@ if test "$CONFIG_FEATURE_SHARED_BUSYBOX" = y; then
fi fi
if test "$CONFIG_FEATURE_INDIVIDUAL" = y; then 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 \ gcc -DNAME_MAIN_CNAME -E -include include/autoconf.h include/applets.h \
| grep -v "^#" \ | grep -v "^#" \
| grep -v "^$" \ | grep -v "^$" \
> applet.lst > applet_lst.tmp
while read name main junk; do while read name main junk; do
echo "\ echo "\
@ -183,9 +184,8 @@ int main(int argc, char **argv)
} }
rm -- "$sharedlib_dir/applet.c" $EXE.out rm -- "$sharedlib_dir/applet.c" $EXE.out
strip -s --remove-section=.note --remove-section=.comment $EXE strip -s --remove-section=.note --remove-section=.comment $EXE
echo "applet linked against libbusybox: $EXE"
done <applet.lst done <applet_lst.tmp
fi fi
# libbusybox.so is needed only for -lbusybox at link time, # libbusybox.so is needed only for -lbusybox at link time,