summaryrefslogtreecommitdiff
path: root/scripts/trylink
diff options
context:
space:
mode:
authorDenis Vlasenko2007-10-08 22:16:14 +0000
committerDenis Vlasenko2007-10-08 22:16:14 +0000
commite9fd69c8e8d70f2a7c2f367a4704cb60a8df6800 (patch)
tree9b6b95ec7e7e221273bb287e22be6d975cb25b25 /scripts/trylink
parentd419a9f83059f0807b82cdbc7be8e3e8f343707e (diff)
downloadbusybox-e9fd69c8e8d70f2a7c2f367a4704cb60a8df6800.zip
busybox-e9fd69c8e8d70f2a7c2f367a4704cb60a8df6800.tar.gz
make "individual applets" build less noisy.
add *.tmp to list of files deleted by make mrproper.
Diffstat (limited to 'scripts/trylink')
-rwxr-xr-xscripts/trylink6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/trylink b/scripts/trylink
index d6538f1..6905f86 100755
--- a/scripts/trylink
+++ b/scripts/trylink
@@ -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,