Removed -v switches from Makefile targets, except in restart_code.
This commit is contained in:
parent
fe24ca634b
commit
e314f7e527
3 changed files with 18 additions and 18 deletions
|
@ -20,9 +20,9 @@ host_prep_Makefiles() { # Initialization of the system
|
||||||
cat << EOF
|
cat << EOF
|
||||||
023-creatingtoolsdir:
|
023-creatingtoolsdir:
|
||||||
@\$(call echo_message, Building)
|
@\$(call echo_message, Building)
|
||||||
@mkdir -v \$(MOUNT_PT)/tools && \\
|
@mkdir \$(MOUNT_PT)/tools && \\
|
||||||
rm -fv /tools && \\
|
rm -f /tools && \\
|
||||||
ln -sv \$(MOUNT_PT)/tools /
|
ln -s \$(MOUNT_PT)/tools /
|
||||||
@if [ ! -d \$(MOUNT_PT)/sources ]; then \\
|
@if [ ! -d \$(MOUNT_PT)/sources ]; then \\
|
||||||
mkdir \$(MOUNT_PT)/sources; \\
|
mkdir \$(MOUNT_PT)/sources; \\
|
||||||
fi;
|
fi;
|
||||||
|
@ -31,8 +31,8 @@ cat << EOF
|
||||||
|
|
||||||
024-creatingcrossdir: 023-creatingtoolsdir
|
024-creatingcrossdir: 023-creatingtoolsdir
|
||||||
@mkdir -v \$(MOUNT_PT)/cross-tools && \\
|
@mkdir -v \$(MOUNT_PT)/cross-tools && \\
|
||||||
rm -fv /cross-tools && \\
|
rm -f /cross-tools && \\
|
||||||
ln -sv \$(MOUNT_PT)/cross-tools /
|
ln -s \$(MOUNT_PT)/cross-tools /
|
||||||
@touch \$@
|
@touch \$@
|
||||||
|
|
||||||
025-addinguser: 024-creatingcrossdir
|
025-addinguser: 024-creatingcrossdir
|
||||||
|
@ -52,10 +52,10 @@ cat << EOF
|
||||||
026-settingenvironment: 025-addinguser
|
026-settingenvironment: 025-addinguser
|
||||||
@\$(call echo_message, Building)
|
@\$(call echo_message, Building)
|
||||||
@if [ -f /home/lfs/.bashrc -a ! -f /home/lfs/.bashrc.XXX ]; then \\
|
@if [ -f /home/lfs/.bashrc -a ! -f /home/lfs/.bashrc.XXX ]; then \\
|
||||||
mv -v /home/lfs/.bashrc /home/lfs/.bashrc.XXX; \\
|
mv /home/lfs/.bashrc /home/lfs/.bashrc.XXX; \\
|
||||||
fi;
|
fi;
|
||||||
@if [ -f /home/lfs/.bash_profile -a ! -f /home/lfs/.bash_profile.XXX ]; then \\
|
@if [ -f /home/lfs/.bash_profile -a ! -f /home/lfs/.bash_profile.XXX ]; then \\
|
||||||
mv -v /home/lfs/.bash_profile /home/lfs/.bash_profile.XXX; \\
|
mv /home/lfs/.bash_profile /home/lfs/.bash_profile.XXX; \\
|
||||||
fi;
|
fi;
|
||||||
@echo "set +h" > /home/lfs/.bashrc && \\
|
@echo "set +h" > /home/lfs/.bashrc && \\
|
||||||
echo "umask 022" >> /home/lfs/.bashrc && \\
|
echo "umask 022" >> /home/lfs/.bashrc && \\
|
||||||
|
@ -1090,10 +1090,10 @@ clean-chapter4:
|
||||||
restore-lfs-env:
|
restore-lfs-env:
|
||||||
@\$(call echo_message, Building)
|
@\$(call echo_message, Building)
|
||||||
@if [ -f /home/lfs/.bashrc.XXX ]; then \\
|
@if [ -f /home/lfs/.bashrc.XXX ]; then \\
|
||||||
mv -fv /home/lfs/.bashrc.XXX /home/lfs/.bashrc; \\
|
mv -f /home/lfs/.bashrc.XXX /home/lfs/.bashrc; \\
|
||||||
fi;
|
fi;
|
||||||
@if [ -f /home/lfs/.bash_profile.XXX ]; then \\
|
@if [ -f /home/lfs/.bash_profile.XXX ]; then \\
|
||||||
mv -v /home/lfs/.bash_profile.XXX /home/lfs/.bash_profile; \\
|
mv /home/lfs/.bash_profile.XXX /home/lfs/.bash_profile; \\
|
||||||
fi;
|
fi;
|
||||||
@chown lfs:lfs /home/lfs/.bash* && \\
|
@chown lfs:lfs /home/lfs/.bash* && \\
|
||||||
touch \$@
|
touch \$@
|
||||||
|
|
|
@ -30,9 +30,9 @@ chapter3_Makefiles() { # Initialization of the system
|
||||||
cat << EOF
|
cat << EOF
|
||||||
020-creatingtoolsdir:
|
020-creatingtoolsdir:
|
||||||
@\$(call echo_message, Building)
|
@\$(call echo_message, Building)
|
||||||
@mkdir -v \$(MOUNT_PT)/tools && \\
|
@mkdir \$(MOUNT_PT)/tools && \\
|
||||||
rm -fv /tools && \\
|
rm -f /tools && \\
|
||||||
ln -sv \$(MOUNT_PT)/tools /
|
ln -s \$(MOUNT_PT)/tools /
|
||||||
@if [ ! -d \$(MOUNT_PT)/sources ]; then \\
|
@if [ ! -d \$(MOUNT_PT)/sources ]; then \\
|
||||||
mkdir \$(MOUNT_PT)/sources; \\
|
mkdir \$(MOUNT_PT)/sources; \\
|
||||||
fi;
|
fi;
|
||||||
|
@ -54,10 +54,10 @@ cat << EOF
|
||||||
022-settingenvironment: 021-addinguser
|
022-settingenvironment: 021-addinguser
|
||||||
@\$(call echo_message, Building)
|
@\$(call echo_message, Building)
|
||||||
@if [ -f /home/lfs/.bashrc -a ! -f /home/lfs/.bashrc.XXX ]; then \\
|
@if [ -f /home/lfs/.bashrc -a ! -f /home/lfs/.bashrc.XXX ]; then \\
|
||||||
mv -v /home/lfs/.bashrc /home/lfs/.bashrc.XXX; \\
|
mv /home/lfs/.bashrc /home/lfs/.bashrc.XXX; \\
|
||||||
fi;
|
fi;
|
||||||
@if [ -f /home/lfs/.bash_profile -a ! -f /home/lfs/.bash_profile.XXX ]; then \\
|
@if [ -f /home/lfs/.bash_profile -a ! -f /home/lfs/.bash_profile.XXX ]; then \\
|
||||||
mv -v /home/lfs/.bash_profile /home/lfs/.bash_profile.XXX; \\
|
mv /home/lfs/.bash_profile /home/lfs/.bash_profile.XXX; \\
|
||||||
fi;
|
fi;
|
||||||
@echo "set +h" > /home/lfs/.bashrc && \\
|
@echo "set +h" > /home/lfs/.bashrc && \\
|
||||||
echo "umask 022" >> /home/lfs/.bashrc && \\
|
echo "umask 022" >> /home/lfs/.bashrc && \\
|
||||||
|
@ -572,10 +572,10 @@ clean-chapter7:
|
||||||
restore-lfs-env:
|
restore-lfs-env:
|
||||||
@\$(call echo_message, Building)
|
@\$(call echo_message, Building)
|
||||||
@if [ -f /home/lfs/.bashrc.XXX ]; then \\
|
@if [ -f /home/lfs/.bashrc.XXX ]; then \\
|
||||||
mv -fv /home/lfs/.bashrc.XXX /home/lfs/.bashrc; \\
|
mv -f /home/lfs/.bashrc.XXX /home/lfs/.bashrc; \\
|
||||||
fi;
|
fi;
|
||||||
@if [ -f /home/lfs/.bash_profile.XXX ]; then \\
|
@if [ -f /home/lfs/.bash_profile.XXX ]; then \\
|
||||||
mv -v /home/lfs/.bash_profile.XXX /home/lfs/.bash_profile; \\
|
mv /home/lfs/.bash_profile.XXX /home/lfs/.bash_profile; \\
|
||||||
fi;
|
fi;
|
||||||
@chown lfs:lfs /home/lfs/.bash* && \\
|
@chown lfs:lfs /home/lfs/.bash* && \\
|
||||||
touch \$@
|
touch \$@
|
||||||
|
|
|
@ -443,7 +443,7 @@ restore-lfs-env:
|
||||||
mv -f /home/lfs/.bashrc.XXX /home/lfs/.bashrc; \\
|
mv -f /home/lfs/.bashrc.XXX /home/lfs/.bashrc; \\
|
||||||
fi;
|
fi;
|
||||||
@if [ -f /home/lfs/.bash_profile.XXX ]; then \\
|
@if [ -f /home/lfs/.bash_profile.XXX ]; then \\
|
||||||
mv /home/lfs/.bash_profile.XXX /home/lfs/.bash_profile; \\
|
mv /home/lfs/.bash_profile.XXX /home/lfs/.bash_profile; \\
|
||||||
fi;
|
fi;
|
||||||
@chown lfs:lfs /home/lfs/.bash* && \\
|
@chown lfs:lfs /home/lfs/.bash* && \\
|
||||||
touch \$@
|
touch \$@
|
||||||
|
@ -487,7 +487,7 @@ restart_code:
|
||||||
if ! mount -l | grep "$\(MOUNT_PT)/sys" >/dev/null ; then \\
|
if ! mount -l | grep "$\(MOUNT_PT)/sys" >/dev/null ; then \\
|
||||||
mount -vt sysfs sysfs \$(MOUNT_PT)/sys;\\
|
mount -vt sysfs sysfs \$(MOUNT_PT)/sys;\\
|
||||||
fi;\\
|
fi;\\
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
) >> $MKFILE
|
) >> $MKFILE
|
||||||
|
|
Reference in a new issue