Changeset 96 for trunk/Makefile


Ignore:
Timestamp:
May 5, 2003, 9:44:50 PM (22 years ago)
Author:
bird
Message:

Going home commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    • Property cvs2svn:cvs-rev changed from 1.13 to 1.14
    r95 r96  
    415415endif
    416416        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 \
    418422        done
    419423
     
    433437                $(PATH_OBJ)/gcc/.ts.configured
    434438ifeq "$(BUILD_PLATFORM)" "OS2"         
    435         unset GCCLOAD & $(MAKE) -C $(PATH_OBJ)/gcc \
     439        unset GCCLOAD ; $(MAKE) -C $(PATH_OBJ)/gcc \
    436440                LIBGCC2_DEBUG_CFLAGS="$(BUILD_DEBUGINFO)" \
    437441                BOOT_CFLAGS="$(BUILD_DEBUGINFO) -O2 -mcpu=pentium -mpreferred-stack-boundary=2 -malign-strings=0 -falign-loops=2 -falign-jumps=2 -falign-functions=2" \
     
    501505###############################################################################
    502506###############################################################################
     507
     508BINUTILS_DIRS = \
     509binutils/bfd \
     510binutils/opcodes \
     511binutils/gas \
     512binutils/gprof \
     513binutils/binutils \
     514binutils/ld \
     515
     516BINUTILS_NOT_DIRS =\
     517binutils/etc \
     518binutils/libiberty \
     519binutils/intl \
     520
     521
     522BINUTILS_CONFIGURE_DIRS = $(BINUTILS_DIRS) $(BINUTILS_NOT_DIRS)
     523
    503524all-binutils  binutils:
    504525        echo "Binutils are build together with the other GNU Tools in GCC."
     
    507528
    508529
    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
     532binutils-autoconf-refresh binutils-autoconf-rerun binutils-autoconf-clean binutils-autoconf-remove:
     533ifeq "$(BUILD_PLATFORM)" "LINUX"
     534        -$(SH) $(PATH_TOP)/xfix.sh
     535endif
     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
     547binutils-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
     553binutils-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.
     559binutils-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.
     570binutils-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.
    510576.PHONY: binutils-diff $(PATH_BIN)/usr/src/binutils/binutils-2.11.2.diff
    511577binutils-diff: $(PATH_BIN)/usr/src/binutils/binutils-2.11.2.diff
     
    515581       
    516582
     583
    517584###############################################################################
    518585###############################################################################
Note: See TracChangeset for help on using the changeset viewer.