Changeset 839 for trunk/Makefile
- Timestamp:
- Oct 26, 2003, 4:30:41 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
-
Property cvs2svn:cvs-rev
changed from
1.56
to1.57
r838 r839 57 57 export GCC_CVS_VENDOR ?= GNU 58 58 export GCC_CVS_REL ?= GCC_3-2-2 59 export BINUTILS_VERSION ?= 2.1 1.260 export BINUTILS_VERSION_SHORT ?= 21 1259 export BINUTILS_VERSION ?= 2.14 60 export BINUTILS_VERSION_SHORT ?= 214 61 61 export BINUTILS_CVS_VENDOR ?= GNU 62 export BINUTILS_CVS_REL ?= BINUTILS_2-1 1-262 export BINUTILS_CVS_REL ?= BINUTILS_2-14 63 63 export EMX_VERSION ?= 0.9d-fix04 64 64 export EMX_VERSION_SHORT ?= 9d04 … … 178 178 @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++" 179 179 180 all-banner-symlinks-start: 181 @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++" 182 @echo "+ symlinks - staring: $(shell date)" 183 @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++" 184 185 all-banner-symlinks-done: 186 @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++" 187 @echo "+ symlinks - done: $(shell date)" 188 @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++" 189 190 all-banner-symlinks-unlink-start: 191 @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++" 192 @echo "+ symlinks unlinking - staring: $(shell date)" 193 @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++" 194 195 all-banner-symlinks-unlink-done: 196 @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++" 197 @echo "+ symlinks unlinking - done: $(shell date)" 198 @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++" 199 180 200 181 201 # … … 489 509 ############################################################################### 490 510 all-symlinks: \ 491 all-symlinks-binutils 511 all-banner-symlinks-start \ 512 all-symlinks-binutils \ 513 all-banner-symlinks-done 492 514 493 515 all-symlinks-unlink: \ 494 all-symlinks-unlink-binutils 516 all-banner-symlinks-unlink-start \ 517 all-symlinks-unlink-binutils \ 518 all-banner-symlinks-unlink-done 495 519 496 520 … … 501 525 TOOL_UNSYMLINK_DIR = rm -Rf 502 526 else 503 TOOL_SYMLINK_FILE = ln - s504 TOOL_SYMLINK_DIR = ln - s527 TOOL_SYMLINK_FILE = ln -fs 528 TOOL_SYMLINK_DIR = ln -fs 505 529 TOOL_SYMLINK_MKDIR = true 506 530 TOOL_UNSYMLINK_DIR = rm … … 519 543 opcodes \ 520 544 texinfo \ 545 libiberty \ 521 546 include/aout \ 522 547 include/coff \ 523 548 include/elf \ 549 include/gdb \ 550 include/mpw \ 524 551 include/nlm \ 525 552 include/opcode \ … … 532 559 include/bin-bugs.h \ 533 560 include/bout.h \ 534 include/callback.h \535 561 include/ChangeLog \ 536 562 include/COPYING \ … … 538 564 include/dis-asm.h \ 539 565 include/dyn-string.h \ 566 include/fibheap.h \ 540 567 include/filenames.h \ 541 568 include/floatformat.h \ … … 558 585 include/partition.h \ 559 586 include/progress.h \ 560 include/remote-sim.h \561 587 include/safe-ctype.h \ 562 include/sim-d10v.h \563 588 include/sort.h \ 564 589 include/splay-tree.h \ 565 590 include/symcat.h \ 591 include/ternary.h \ 592 include/xregex.h \ 593 include/xregex2.h \ 594 include/xtensa-config.h \ 595 include/xtensa-isa-internal.h \ 596 include/xtensa-isa.h \ 597 566 598 567 599 # Symlink binutils stuff to gcc. … … 569 601 all-symlinks-binutils: 570 602 for file in $(SYMLINKS_BINUTILS_TO_GCC_FILES); do \ 571 if [ ! -f "$(PATH_TOP)/src/gcc/$$file" ]; then \ 572 $(TOOL_SYMLINK_FILE) $(PATH_TOP)/src/binutils/$$file $(PATH_TOP)/src/gcc/$$file && \ 573 touch $(PATH_TOP)/src/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'`; \ 603 if [ ! -f "$(PATH_TOP)/src/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'`" ]; then \ 604 echo symlinking file src/gcc/$${file} to src/binutils/$${file} ; \ 605 if rm -f $(PATH_TOP)/src/gcc/$$file && \ 606 $(TOOL_SYMLINK_FILE) $(PATH_TOP)/src/binutils/$$file $(PATH_TOP)/src/gcc/$$file && \ 607 touch $(PATH_TOP)/src/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'`; \ 608 then true ; \ 609 else exit 1; \ 610 fi ; \ 574 611 fi ; \ 575 done 612 done 576 613 for dir in $(SYMLINKS_BINUTILS_TO_GCC_DIRS) ; do \ 577 if [ ! -d "$(PATH_TOP)/src/gcc/$$dir" ] ; then \ 578 $(TOOL_SYMLINK_MKDIR) $(PATH_TOP)/src/gcc/$$dir && \ 579 touch $(PATH_TOP)/src/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'` && \ 580 $(TOOL_SYMLINK_DIR) $(PATH_TOP)/src/binutils/$$dir $(PATH_TOP)/src/gcc/`echo $${dir}| sed -e '/\//!d' -e 's@\([a-zA-z0-9]*\)/.*@\1/@'` ; \ 614 if [ ! -f "$(PATH_TOP)/src/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'`" ] ; then \ 615 echo symlinking directory src/gcc/$${dir} to src/binutils/$${dir} ; \ 616 if [ -d "$(PATH_TOP)/src/gcc/$$dir" ] ; then \ 617 echo removing existing directory: $${dir} ; \ 618 rm -Rf $(PATH_TOP)/src/gcc/$$dir ; \ 619 fi ; \ 620 if $(TOOL_SYMLINK_MKDIR) $(PATH_TOP)/src/gcc/$$dir && \ 621 $(TOOL_SYMLINK_DIR) $(PATH_TOP)/src/binutils/$$dir $(PATH_TOP)/src/gcc/`echo $${dir}| sed -e '/\//!d' -e 's@\([a-zA-z0-9]*\)/.*@\1/@'` ; \ 622 touch $(PATH_TOP)/src/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'` ; \ 623 then true ; \ 624 else exit 1; \ 625 fi ; \ 581 626 fi ; \ 582 627 done … … 584 629 585 630 all-symlinks-unlink-binutils: 586 for file in $(SYMLINKS_BINUTILS_TO_GCC_FILES); do \ 587 if [ -f "$(PATH_TOP)/src/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'`" ]; then \ 588 rm $(PATH_TOP)/src/gcc/$${file} && \ 589 rm $(PATH_TOP)/src/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'` ; \ 631 for name in `ls src/gcc/.symlinked* | sed -e "s/.*\.symlinked.//" -e "s/_/\//g"`; do \ 632 echo unlinking $${name} ; \ 633 if [ -d "$(PATH_TOP)/src/gcc/$${name}" ] ; then \ 634 rm -Rf $(PATH_TOP)/src/gcc/$${name} ; \ 635 else \ 636 rm -f $(PATH_TOP)/src/gcc/$${name} ; \ 590 637 fi ; \ 591 done 592 for dir in $(SYMLINKS_BINUTILS_TO_GCC_DIRS) ; do \ 593 if [ -f "$(PATH_TOP)/src/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'`" ] ; then \ 594 $(TOOL_UNSYMLINK_DIR) $(PATH_TOP)/src/gcc/$${dir} && \ 595 rm $(PATH_TOP)/src/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'`; \ 638 if [ ! -f "$(PATH_TOP)/src/gcc/$${name}" -a ! -d "$(PATH_TOP)/src/gcc/$${name}" ] ; then \ 639 rm $(PATH_TOP)/src/gcc/.symlinked.`echo $${name} | sed -e 's@/@_@g'` ; \ 640 else \ 641 echo "unlink error: $(PATH_TOP)/src/gcc/$${name} exist" ; \ 642 ls -l "$(PATH_TOP)/src/gcc/$${name}" ; \ 643 exit 1; \ 596 644 fi ; \ 597 645 done … … 1142 1190 1143 1191 ZIPFLAGS=-rX9 1144 ZIPBASE=$(PATH_BIN)/GCC-$(GCC_VERSION)-beta 31192 ZIPBASE=$(PATH_BIN)/GCC-$(GCC_VERSION)-beta4 1145 1193 1146 1194 packing-all: -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.