CLFS3: Preparative changes to can add CUSTOM_TOOLS support.
This commit is contained in:
parent
5932971259
commit
5cbb44c6eb
1 changed files with 3 additions and 3 deletions
|
@ -421,7 +421,8 @@ build_Makefile() { # Construct a Makefile from the book scripts
|
||||||
(
|
(
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
|
||||||
all: ck_UID mk_SETUP mk_LUSER mk_ROOT create-sbu_du-report
|
all: ck_UID mk_SETUP mk_LUSER create-sbu_du-report mk_ROOT
|
||||||
|
@sudo make restore-luser-env
|
||||||
@sudo make do-housekeeping
|
@sudo make do-housekeeping
|
||||||
@\$(call echo_finished,$VERSION)
|
@\$(call echo_finished,$VERSION)
|
||||||
|
|
||||||
|
@ -441,7 +442,6 @@ mk_SETUP:
|
||||||
mk_LUSER: mk_SETUP
|
mk_LUSER: mk_SETUP
|
||||||
@\$(call echo_SULUSER_request)
|
@\$(call echo_SULUSER_request)
|
||||||
@(sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make SHELL=/bin/bash LUSER" )
|
@(sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make SHELL=/bin/bash LUSER" )
|
||||||
@sudo make restore-luser-env
|
|
||||||
@touch \$@
|
@touch \$@
|
||||||
|
|
||||||
mk_ROOT:
|
mk_ROOT:
|
||||||
|
@ -456,7 +456,7 @@ LUSER: $cross_tools $basicsystem $bootscripttools $bootable
|
||||||
ROOT: $chowning
|
ROOT: $chowning
|
||||||
|
|
||||||
|
|
||||||
create-sbu_du-report: ROOT
|
create-sbu_du-report: mk_LUSER
|
||||||
@\$(call echo_message, Building)
|
@\$(call echo_message, Building)
|
||||||
@if [ "\$(ADD_REPORT)" = "y" ]; then \\
|
@if [ "\$(ADD_REPORT)" = "y" ]; then \\
|
||||||
./create-sbu_du-report.sh logs $VERSION; \\
|
./create-sbu_du-report.sh logs $VERSION; \\
|
||||||
|
|
Reference in a new issue