Changeset 96 for trunk/Makefile
- Timestamp:
- May 5, 2003, 9:44:50 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
-
Property cvs2svn:cvs-rev
changed from
1.13
to1.14
r95 r96 415 415 endif 416 416 for dir in $(GCC_CONFIGURE_DIRS); do \ 417 $(MAKE) $(@:gcc-autoconf-%=%) -f $(PWD)/config.gmk -C src/$$dir ; \ 417 if $(MAKE) $(@:gcc-autoconf-%=%) -f $(PWD)/config.gmk -C src/$$dir ; then \ 418 true; \ 419 else \ 420 exit 8; \ 421 fi \ 418 422 done 419 423 … … 433 437 $(PATH_OBJ)/gcc/.ts.configured 434 438 ifeq "$(BUILD_PLATFORM)" "OS2" 435 unset GCCLOAD &$(MAKE) -C $(PATH_OBJ)/gcc \439 unset GCCLOAD ; $(MAKE) -C $(PATH_OBJ)/gcc \ 436 440 LIBGCC2_DEBUG_CFLAGS="$(BUILD_DEBUGINFO)" \ 437 441 BOOT_CFLAGS="$(BUILD_DEBUGINFO) -O2 -mcpu=pentium -mpreferred-stack-boundary=2 -malign-strings=0 -falign-loops=2 -falign-jumps=2 -falign-functions=2" \ … … 501 505 ############################################################################### 502 506 ############################################################################### 507 508 BINUTILS_DIRS = \ 509 binutils/bfd \ 510 binutils/opcodes \ 511 binutils/gas \ 512 binutils/gprof \ 513 binutils/binutils \ 514 binutils/ld \ 515 516 BINUTILS_NOT_DIRS =\ 517 binutils/etc \ 518 binutils/libiberty \ 519 binutils/intl \ 520 521 522 BINUTILS_CONFIGURE_DIRS = $(BINUTILS_DIRS) $(BINUTILS_NOT_DIRS) 523 503 524 all-binutils binutils: 504 525 echo "Binutils are build together with the other GNU Tools in GCC." … … 507 528 508 529 509 # Generate diffs for GCC (v3.2.2) - part of packing a release. 530 # configure.in/configure 531 .PHONY: binutils-autoconf-refresh binutils-autoconf-rerun binutils-autoconf-clean binutils-autoconf-remove 532 binutils-autoconf-refresh binutils-autoconf-rerun binutils-autoconf-clean binutils-autoconf-remove: 533 ifeq "$(BUILD_PLATFORM)" "LINUX" 534 -$(SH) $(PATH_TOP)/xfix.sh 535 endif 536 for dir in $(BINUTILS_CONFIGURE_DIRS); do \ 537 if $(MAKE) $(@:binutils-autoconf-%=%) -f $(PWD)/config.gmk -C src/$$dir ; then \ 538 true; \ 539 else \ 540 exit 8; \ 541 fi \ 542 done 543 544 545 # build the components. 546 .PHONY: binutils-build binutils-install binutils-configure 547 binutils-build binutils-install binutils-configure: 548 mkdir -p $(PATH_OBJ)/binutils 549 $(MAKE) -C $(PATH_OBJ)/binutils -f $(MAKEFILE) $@-it 550 551 552 # When changed directory 553 binutils-build-it: \ 554 $(PATH_OBJ)/binutils/.ts.configured 555 $(ASH) -c " unset GCCLOAD ; $(MAKE) -C $(PATH_OBJ)/binutils " 556 557 # configure it (invoked after directory change). 558 # We set CC to help configure finding it. 559 binutils-configure-it $(PATH_OBJ)/binutils/.ts.configured: $(PATH_TOP)/src/binutils/configure 560 $(ASH) -c " \ 561 export CC=\"gcc.exe\" ; \ 562 $< \ 563 --enable-shared \ 564 --prefix=$(PATH_BIND)/gcc322 " 565 touch $(PATH_OBJ)/binutils/.ts.configured 566 567 568 # Install the Binutils build 569 # Repeating the prefix doesn't hurt anybody. 570 binutils-install-it: 571 $(MAKE) prefix=$(PATH_BIND)/gcc322 install 572 573 574 575 # Generate diffs for Binutils (v2.11.2) - part of packing a release. 510 576 .PHONY: binutils-diff $(PATH_BIN)/usr/src/binutils/binutils-2.11.2.diff 511 577 binutils-diff: $(PATH_BIN)/usr/src/binutils/binutils-2.11.2.diff … … 515 581 516 582 583 517 584 ############################################################################### 518 585 ############################################################################### -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.