CLFS: Removed duplicates make calls.

This commit is contained in:
Manuel Canales Esparcia 2007-04-05 17:55:48 +00:00
parent b6f6212d8b
commit 7a433202de

View file

@ -774,32 +774,32 @@ ck_UID:
#---------------AS ROOT #---------------AS ROOT
mk_SETUP: mk_SETUP:
@\$(call echo_SU_request) @\$(call echo_SU_request)
@sudo make make BREAKPOINT=\$(BREAKPOINT) SETUP @sudo make BREAKPOINT=\$(BREAKPOINT) SETUP
@touch \$@ @touch \$@
#---------------AS LUSER #---------------AS LUSER
mk_CROSS: mk_SETUP mk_CROSS: mk_SETUP
@\$(call echo_PHASE,Cross and Temporary Tools) @\$(call echo_PHASE,Cross and Temporary Tools)
@(sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make make BREAKPOINT=\$(BREAKPOINT) AS_LUSER" ) @(sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make BREAKPOINT=\$(BREAKPOINT) AS_LUSER" )
@sudo make restore-luser-env @sudo make restore-luser-env
@touch \$@ @touch \$@
mk_SUDO: mk_CROSS mk_SUDO: mk_CROSS
@sudo make make BREAKPOINT=\$(BREAKPOINT) SUDO @sudo make BREAKPOINT=\$(BREAKPOINT) SUDO
@touch \$@ @touch \$@
#---------------CHROOT JAIL #---------------CHROOT JAIL
mk_SYSTOOLS: mk_SUDO mk_SYSTOOLS: mk_SUDO
@\$(call echo_CHROOT_request) @\$(call echo_CHROOT_request)
@\$(call echo_PHASE, CHROOT JAIL ) @\$(call echo_PHASE, CHROOT JAIL )
@( sudo \$(CHROOT1) "cd \$(SCRIPT_ROOT) && make make BREAKPOINT=\$(BREAKPOINT) CHROOT_JAIL") @( sudo \$(CHROOT1) "cd \$(SCRIPT_ROOT) && make BREAKPOINT=\$(BREAKPOINT) CHROOT_JAIL")
@touch \$@ @touch \$@
mk_CUSTOM_TOOLS: create-sbu_du-report mk_CUSTOM_TOOLS: create-sbu_du-report
@if [ "\$(ADD_CUSTOM_TOOLS)" = "y" ]; then \\ @if [ "\$(ADD_CUSTOM_TOOLS)" = "y" ]; then \\
\$(call sh_echo_PHASE,Building CUSTOM_TOOLS); \\ \$(call sh_echo_PHASE,Building CUSTOM_TOOLS); \\
sudo mkdir -p ${BUILDDIR}${TRACKING_DIR}; \\ sudo mkdir -p ${BUILDDIR}${TRACKING_DIR}; \\
(sudo \$(CHROOT1) "cd \$(SCRIPT_ROOT) && make make BREAKPOINT=\$(BREAKPOINT) CUSTOM_TOOLS"); \\ (sudo \$(CHROOT1) "cd \$(SCRIPT_ROOT) && make BREAKPOINT=\$(BREAKPOINT) CUSTOM_TOOLS"); \\
fi; fi;
@touch \$@ @touch \$@
@ -807,7 +807,7 @@ mk_BLFS_TOOL: mk_CUSTOM_TOOLS
@if [ "\$(ADD_BLFS_TOOLS)" = "y" ]; then \\ @if [ "\$(ADD_BLFS_TOOLS)" = "y" ]; then \\
\$(call sh_echo_PHASE,Building BLFS_TOOL); \\ \$(call sh_echo_PHASE,Building BLFS_TOOL); \\
sudo mkdir -p $BUILDDIR$TRACKING_DIR; \\ sudo mkdir -p $BUILDDIR$TRACKING_DIR; \\
sudo \$(CHROOT1) "cd \$(SCRIPT_ROOT) && make make BREAKPOINT=\$(BREAKPOINT) BLFS_TOOL"; \\ sudo \$(CHROOT1) "cd \$(SCRIPT_ROOT) && make BREAKPOINT=\$(BREAKPOINT) BLFS_TOOL"; \\
fi; fi;
@touch \$@ @touch \$@
@ -877,32 +877,32 @@ ck_UID:
mk_SETUP: mk_SETUP:
@\$(call echo_SU_request) @\$(call echo_SU_request)
@sudo make make BREAKPOINT=\$(BREAKPOINT) SETUP @sudo make BREAKPOINT=\$(BREAKPOINT) SETUP
@touch \$@ @touch \$@
#---------------AS LUSER #---------------AS LUSER
mk_CROSS: mk_SETUP mk_CROSS: mk_SETUP
@\$(call echo_PHASE,Cross Tool) @\$(call echo_PHASE,Cross Tool)
@(sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make make BREAKPOINT=\$(BREAKPOINT) AS_LUSER" ) @(sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make BREAKPOINT=\$(BREAKPOINT) AS_LUSER" )
@touch \$@ @touch \$@
mk_SUDO: mk_CROSS mk_SUDO: mk_CROSS
@sudo make make BREAKPOINT=\$(BREAKPOINT) SUDO @sudo make BREAKPOINT=\$(BREAKPOINT) SUDO
@touch \$@ @touch \$@
#---------------AS ROOT #---------------AS ROOT
mk_FINAL: mk_FINAL:
@\$(call echo_PHASE,Final System) @\$(call echo_PHASE,Final System)
@( source /root/.bash_profile && make make BREAKPOINT=\$(BREAKPOINT) AS_ROOT ) @( source /root/.bash_profile && make BREAKPOINT=\$(BREAKPOINT) AS_ROOT )
@touch \$@ @touch \$@
mk_CUSTOM_TOOLS: mk_FINAL mk_CUSTOM_TOOLS: mk_FINAL
@if [ "\$(ADD_CUSTOM_TOOLS)" = "y" ]; then \\ @if [ "\$(ADD_CUSTOM_TOOLS)" = "y" ]; then \\
\$(call sh_echo_PHASE,Building CUSTOM_TOOLS); \\ \$(call sh_echo_PHASE,Building CUSTOM_TOOLS); \\
mkdir -p ${TRACKING_DIR}; \\ mkdir -p ${TRACKING_DIR}; \\
( source /root/.bash_profile && make make BREAKPOINT=\$(BREAKPOINT) CUSTOM_TOOLS ); \\ ( source /root/.bash_profile && make BREAKPOINT=\$(BREAKPOINT) CUSTOM_TOOLS ); \\
fi; fi;
@touch \$@ @touch \$@
@ -910,7 +910,7 @@ mk_BLFS_TOOL: mk_CUSTOM_TOOLS
@if [ "\$(ADD_BLFS_TOOLS)" = "y" ]; then \\ @if [ "\$(ADD_BLFS_TOOLS)" = "y" ]; then \\
\$(call sh_echo_PHASE,Building BLFS_TOOL); \\ \$(call sh_echo_PHASE,Building BLFS_TOOL); \\
mkdir -p $TRACKING_DIR; \\ mkdir -p $TRACKING_DIR; \\
( source /root/.bash_profile && make make BREAKPOINT=\$(BREAKPOINT) BLFS_TOOL ); \\ ( source /root/.bash_profile && make BREAKPOINT=\$(BREAKPOINT) BLFS_TOOL ); \\
fi fi
@touch \$@ @touch \$@