Added blfs-tool dependencies targets to LFS builds.
This commit is contained in:
parent
4fb2c33999
commit
fd7455c95c
1 changed files with 20 additions and 1 deletions
|
@ -372,6 +372,8 @@ build_Makefile() { #
|
||||||
# Add the iterations targets, if needed
|
# Add the iterations targets, if needed
|
||||||
[[ "$COMPARE" = "y" ]] && wrt_compare_targets
|
[[ "$COMPARE" = "y" ]] && wrt_compare_targets
|
||||||
chapter789_Makefiles
|
chapter789_Makefiles
|
||||||
|
# Add the BLFS_TOOL targets, if needed
|
||||||
|
[[ "$BLFS_TOOL" = "y" ]] && wrt_blfs_tool_targets
|
||||||
|
|
||||||
# Add a header, some variables and include the function file
|
# Add a header, some variables and include the function file
|
||||||
# to the top of the real Makefile.
|
# to the top of the real Makefile.
|
||||||
|
@ -434,7 +436,7 @@ EOF
|
||||||
(
|
(
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
|
||||||
all: ck_UID mk_SETUP mk_LUSER mk_SUDO mk_CHROOT mk_BOOT create-sbu_du-report
|
all: ck_UID mk_SETUP mk_LUSER mk_SUDO mk_CHROOT mk_BOOT create-sbu_du-report mk_BLFS_TOOL
|
||||||
@sudo make do_housekeeping
|
@sudo make do_housekeeping
|
||||||
@\$(call echo_finished,$VERSION)
|
@\$(call echo_finished,$VERSION)
|
||||||
|
|
||||||
|
@ -577,6 +579,23 @@ EOF
|
||||||
@touch \$@
|
@touch \$@
|
||||||
|
|
||||||
|
|
||||||
|
EOF
|
||||||
|
) >> $MKFILE
|
||||||
|
else echo -e "\t@true\n\n" >> $MKFILE; fi
|
||||||
|
|
||||||
|
# Add BLFS_TOOL targets
|
||||||
|
echo "mk_BLFS_TOOL:" >> $MKFILE
|
||||||
|
if [[ "$BLFS_TOOL" = "y" ]] ; then
|
||||||
|
(
|
||||||
|
cat << EOF
|
||||||
|
@\$(call echo_CHROOT_request)
|
||||||
|
@ sudo mkdir $BUILDDIR$TRACKING_DIR
|
||||||
|
@( sudo \$(CHROOT2) "cd \$(SCRIPT_ROOT) && make BLFS_TOOL")
|
||||||
|
@touch \$@
|
||||||
|
|
||||||
|
BLFS_TOOL: $blfs_tool
|
||||||
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
) >> $MKFILE
|
) >> $MKFILE
|
||||||
else echo -e "\t@true\n\n" >> $MKFILE; fi
|
else echo -e "\t@true\n\n" >> $MKFILE; fi
|
||||||
|
|
Reference in a new issue