Changeset 9349479
- Timestamp:
- 12/16/2005 04:42:49 PM (19 years ago)
- Branches:
- 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- e90c0c3
- Parents:
- e9dba98
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jhalfs
re9dba98 r9349479 323 323 GROFFLEVEL=`grep "groff-patchlevel" $JHALFSDIR/packages | sed -e 's/groff-patchlevel //' -e 's/"//g'` 324 324 325 # There is some entities that aren't valid package entities.325 # There are some entities that aren't valid packages. 326 326 if [ "$PKG" = "expect-lib" -o "$PKG" = "linux-dl" -o "$PKG" = "groff-patchlevel" ] ; then continue ; fi 327 327 … … 421 421 i=`basename $file` 422 422 423 # If no testsuites will be run, then TCL, Expect and DejaGNU isn't needed423 # If no testsuites will be run, then TCL, Expect and DejaGNU aren't needed 424 424 if [ "$TOOLCHAINTEST" = "0" ]; then 425 425 if [[ `_IS_ $i tcl` ]] || [[ `_IS_ $i expect` ]] || [[ `_IS_ $i dejagnu` ]] ; then … … 480 480 fi 481 481 482 # Dump the path to the Binutils or TCLsources directory.483 if [[ `_IS_ $i binutils` ]] || [[ `_IS_ $i tcl` ]]; then482 # Dump the path to the Binutils sources directory. 483 if [[ `_IS_ $i binutils` ]] ; then 484 484 ( 485 485 cat << EOF … … 494 494 @echo "PKGDIR=\$(LFS)\$(SRC)/binutils-build" > envars && \\ 495 495 echo "export PKGDIR" >> envars 496 EOF497 ) >> $MKFILE.tmp498 499 # For the Expect build we need to set the TCLPATH envar.500 elif [[ `_IS_ $i expect` ]] ; then501 (502 cat << EOF503 echo "TCLPATH=\`cat sources-dir\`" >> envars && \\504 echo "export TCLPATH" >> envars505 496 EOF 506 497 ) >> $MKFILE.tmp … … 526 517 527 518 # Remove the build directory(ies) except if the package build fails 528 # ( to can review config.cache, config.log, and like.)529 # For Binutils and TCL the sources must be retainedsome time.519 # (so we can review config.cache, config.log, etc.) 520 # For Binutils the sources must be retained for some time. 530 521 if [ "$vrs" != "" ] ; then 531 if [[ ! `_IS_ $i binutils` ]] && [[ ! `_IS_ $i tcl` ]]; then522 if [[ ! `_IS_ $i binutils` ]] ; then 532 523 ( 533 524 cat << EOF … … 548 539 @rm -r \`cat sources-dir\` && \\ 549 540 rm -r \$(LFS)\$(SRC)/binutils-build && \\ 550 rm sources-dir551 EOF552 ) >> $MKFILE.tmp553 fi554 555 # Remove the TCL sources after a successful Expect build.556 if [[ `_IS_ $i expect` ]] ; then557 (558 cat << EOF559 @rm -r \`cat sources-dir\` && \\560 541 rm sources-dir 561 542 EOF
Note:
See TracChangeset
for help on using the changeset viewer.