- Timestamp:
- 03/23/2006 07:40:39 PM (18 years ago)
- Branches:
- experimental
- Children:
- 6d3564b
- Parents:
- 62033d2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS/master.sh
r62033d2 r3fcd63e 482 482 this_script=`basename $file` 483 483 484 # Skipping scripts is done now so they are not included in the Makefile. 485 case $this_script in 486 *stripping*) continue ;; 487 *grub*) continue ;; 488 esac 489 # 484 # Test if the stripping phase must be skipped 485 if [ "$STRIP" = "0" ] && [[ `_IS_ ${this_script} stripping` ]] ; then 486 continue 487 fi 488 490 489 # First append each name of the script files to a list (this will become 491 490 # the names of the targets in the Makefile 492 491 basicsystem="$basicsystem $this_script" 493 #494 # A little customizing via sed scripts first..495 if [[ $TEST = "0" ]]; then496 # Drop any package checks..497 sed -e '/make check/d' -e '/make test/d' -i $file498 fi499 case $this_script_BLOCKED in500 *coreutils*) sed 's@set -e@set -e; set +h@' -i $file ;;501 *groff*) sed "s@\*\*EDITME.*EDITME\*\*@$PAGE@" -i $file ;;502 *vim*) sed '/vim -c/d' -i $file ;;503 *bash*) sed '/exec /d' -i $file ;;504 *shadow*) sed -e '/grpconv/d' -e '/pwconv/d' -e '/passwd root/d' -i $file505 sed '/sed -i libtool/d' -i $file506 sed '/search_path/d' -i $file507 ;;508 *glibc*) sed '/tzselect/d' -i $file509 sed "s@\*\*EDITME.*EDITME\*\*@$TIMEZONE@" -i $file510 # Manipulate glibc's test to work with Makefile511 sed -e 's/glibc-check-log.*//' \512 -e 's@make -k check >@make -k check >glibc-check-log 2>\&1 || true\ngrep Error glibc-check-log || true@' -i $file513 ;;514 *binutils*) sed '/expect /d' -i $file515 if [[ $TOOLCHAINTEST = "0" ]]; then516 sed '/make check/d' -i $file517 fi518 ;;519 *gcc*) # Ignore all gcc testing for now..520 sed -e '/make -k check/d' -i $file521 sed -e '/test_summary/d' -i $file522 ;;523 *texinfo*) # This sucks as a way to trim a script524 sed -e '/cd \/usr/d' \525 -e '/rm dir/d' \526 -e '/for f in/d' \527 -e '/do inst/d' \528 -e '/done/d' -i $file529 ;;530 esac531 492 532 493 # Grab the name of the target, strip id number, XXX-script … … 583 544 this_script=`basename $file` 584 545 585 # Skipping scripts is done now so they are not included in the Makefile. 586 case $this_script in 587 *stripping*) continue ;; 588 *grub*) continue ;; 589 esac 546 # Test if the stripping phase must be skipped 547 if [ "$STRIP" = "0" ] && [[ `_IS_ ${this_script} stripping` ]] ; then 548 continue 549 fi 590 550 591 551 # First append each name of the script files to a list (this will become 592 552 # the names of the targets in the Makefile 593 553 basicsystem="$basicsystem $this_script" 594 595 #596 # A little customizing via sed scripts first..597 if [[ $TEST = "0" ]]; then598 # Drop any package checks..599 sed -e '/make check/d' -e '/make test/d' -i $file600 fi601 case $this_script_BLOCKED in602 *coreutils*) sed 's@set -e@set -e; set +h@' -i $file ;;603 *groff*) sed "s@\*\*EDITME.*EDITME\*\*@$PAGE@" -i $file ;;604 *vim*) sed '/vim -c/d' -i $file ;;605 *bash*) sed '/exec /d' -i $file ;;606 *shadow*) sed -e '/grpconv/d' \607 -e '/pwconv/d' \608 -e '/passwd root/d' -i $file609 sed '/sed -i libtool/d' -i $file610 sed '/search_path/d' -i $file611 ;;612 *psmisc*) # Build fails on creation of this link. <pidof> installed in sysvinit613 sed -e 's/^ln -s/#ln -s/' -i $file614 ;;615 *glibc*) sed '/tzselect/d' -i $file616 sed "s@\*\*EDITME.*EDITME\*\*@$TIMEZONE@" -i $file617 # Manipulate glibc's test to work with Makefile618 sed -e 's/glibc-check-log.*//' -e 's@make -k check >@make -k check >glibc-check-log 2>\&1 || true\ngrep Error glibc-check-log || true@' -i $file619 ;;620 *binutils*) sed '/expect /d' -i $file621 if [[ $TOOLCHAINTEST = "0" ]]; then622 sed '/make check/d' -i $file623 fi624 ;;625 *gcc*) # Ignore all gcc testing for now..626 sed -e '/make -k check/d' -i $file627 sed -e '/test_summary/d' -i $file628 ;;629 *texinfo*) # This sucks as a way to trim a script630 sed -e '/cd \/usr/d' \631 -e '/rm dir/d' \632 -e '/for f in/d' \633 -e '/do inst/d' \634 -e '/done/d' -i $file635 ;;636 esac637 554 638 555 # Grab the name of the target, strip id number, XXX-script … … 659 576 temp-perl) wrt_unpack3 "perl-$vrs.tar.*" ;; 660 577 *) wrt_unpack3 "$name-$vrs.tar.*" ;; 661 esac662 #663 # Export a few 'config' vars..664 case $this_script in665 *glibc*) # For glibc we can set then TIMEZONE envar.666 echo -e '\t@echo "export TIMEZONE=$(TIMEZONE)" >> envars' >> $MKFILE.tmp ;;667 *groff*) # For Groff we need to set PAGE envar.668 echo -e '\t@echo "export PAGE=$(PAGE)" >> envars' >> $MKFILE.tmp ;;669 578 esac 670 579 fi
Note:
See TracChangeset
for help on using the changeset viewer.