Changeset 7bbd436
- Timestamp:
- 10/03/2005 06:28:57 PM (19 years ago)
- Branches:
- 0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 816f3f43
- Parents:
- fc8de49
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jhalfs
rfc8de49 r7bbd436 372 372 # Everything else, add a true statment so we don't confuse make 373 373 else 374 374 echo -e "\ttrue" >> $MKFILE.tmp 375 375 fi 376 376 … … 396 396 fi 397 397 fi 398 399 # Remove the Binutils pass 1 sources after a successful Adjusting phase. 400 if [ "$i" = "031-adjusting" ] ; then 401 echo -e "\t@rm -r \`cat sources-dir\` && \\" >> $MKFILE.tmp 402 echo -e "\trm -r \$(LFS)\$(SRC)/binutils-build && \\" >> $MKFILE.tmp 403 echo -e "\trm sources-dir; \\" >> $MKFILE.tmp 404 fi 405 406 # Remove the TCL sources after a successful Expect build. 407 if [ "$i" = "033-expect" ] ; then 408 echo -e "\t@rm -r \`cat sources-dir\` && \\" >> $MKFILE.tmp 409 echo -e "\trm sources-dir; \\" >> $MKFILE.tmp 410 fi 411 412 # Include a touch of the target name so make can check 413 # if it's already been made. 414 echo -e "\t@touch \$@" >> $MKFILE.tmp 415 416 # The next two "if" must be after the touch to can check if the sources 417 # directories should be retained or deleted. 398 418 if [ "$i" = "027-binutils-pass1" -o "$i" = "036-binutils-pass2" ] ; then 399 419 echo -e "\t@if [ ! -e \$@ ] ; then \\" >> $MKFILE.tmp … … 409 429 echo -e "\tfi;" >> $MKFILE.tmp 410 430 fi 411 412 # Remove the Binutils pass 1 sources after a successful Adjusting phase.413 if [ "$i" = "031-adjusting" ] ; then414 echo -e "\t@if [ -e \$@ ] ; then \\" >> $MKFILE.tmp415 echo -e "\t\trm -r \`cat sources-dir\` && \\" >> $MKFILE.tmp416 echo -e "\t\trm -r \$(LFS)\$(SRC)/binutils-build && \\" >> $MKFILE.tmp417 echo -e "\t\trm sources-dir; \\" >> $MKFILE.tmp418 echo -e "\tfi;" >> $MKFILE.tmp419 fi420 421 # Remove the TCL sources after a successful Expect build.422 if [ "$i" = "033-expect" ] ; then423 echo -e "\t@if [ -e \$@ ] ; then \\" >> $MKFILE.tmp424 echo -e "\t\trm -r \`cat sources-dir\` && \\" >> $MKFILE.tmp425 echo -e "\t\trm sources-dir; \\" >> $MKFILE.tmp426 echo -e "\tfi;" >> $MKFILE.tmp427 fi428 429 # Include a touch of the target name so make can check430 # if it's already been made.431 echo -e "\t@touch \$@" >> $MKFILE.tmp432 431 433 432 # Keep the script file name for Makefile dependencies. … … 506 505 # Remove the Binutils pass 2 sources after a successful Re-Adjusting phase. 507 506 if [ "$i" = "067-readjusting" ] ; then 508 echo -e "\t@if [ -e \$@ ] ; then \\" >> $MKFILE.tmp 509 echo -e "\t\trm -r \`cat sources-dir\` && \\" >> $MKFILE.tmp 510 echo -e "\t\trm -r \$(SRC)/binutils-build && \\" >> $MKFILE.tmp 511 echo -e "\t\trm sources-dir; \\" >> $MKFILE.tmp 512 echo -e "\tfi;" >> $MKFILE.tmp 507 echo -e "\t@rm -r \`cat sources-dir\` && \\" >> $MKFILE.tmp 508 echo -e "\trm -r \$(SRC)/binutils-build && \\" >> $MKFILE.tmp 509 echo -e "\trm sources-dir; \\" >> $MKFILE.tmp 513 510 fi 514 511 … … 534 531 for file in chapter06/*chroot* ; do 535 532 chroot=`cat $file | sed -e '/#!\/bin\/sh/d' -e 's@ \\\@ @g' | tr -d '\n' | sed \ 536 533 -e 's/ */ /g' -e 's|\\$|&&|g' -e 's|$| -c|'` 537 534 echo -e "CHROOT$i= $chroot\n" >> $MKFILE 538 535 i=`expr $i + 1`
Note:
See TracChangeset
for help on using the changeset viewer.