OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [Makefile.tpl] - Diff between revs 147 and 161

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 147 Rev 161
Line 238... Line 238...
# Override the above if we're bootstrapping C++.
# Override the above if we're bootstrapping C++.
POSTSTAGE1_CXX_EXPORT = \
POSTSTAGE1_CXX_EXPORT = \
        CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
        CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
          -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
          -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
          -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
          -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
 
          -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
          -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
          -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
          -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
          -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
          -I$$s/libstdc++-v3/libsupc++ \
          -I$$s/libstdc++-v3/libsupc++ \
          -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs"; export CXX; \
          -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
 
          -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
 
          export CXX; \
        CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
        CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
@endif target-libstdc++-v3-bootstrap
@endif target-libstdc++-v3-bootstrap
 
 
# Similar, for later GCC stages.
# Similar, for later GCC stages.
POSTSTAGE1_HOST_EXPORTS = \
POSTSTAGE1_HOST_EXPORTS = \
Line 317... Line 320...
 
 
# Where to find libelf
# Where to find libelf
HOST_LIBELFLIBS = @libelflibs@
HOST_LIBELFLIBS = @libelflibs@
HOST_LIBELFINC = @libelfinc@
HOST_LIBELFINC = @libelfinc@
 
 
 
EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
 
 
# ----------------------------------------------
# ----------------------------------------------
# Programs producing files for the BUILD machine
# Programs producing files for the BUILD machine
# ----------------------------------------------
# ----------------------------------------------
 
 
SHELL = @SHELL@
SHELL = @SHELL@
Line 414... Line 419...
# Defaults for all stages; some are overridden below.
# Defaults for all stages; some are overridden below.
 
 
STAGE_CFLAGS = $(BOOT_CFLAGS)
STAGE_CFLAGS = $(BOOT_CFLAGS)
STAGE_TFLAGS = $(TFLAGS)
STAGE_TFLAGS = $(TFLAGS)
STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
 
POSTSTAGE1_CONFIGURE_FLAGS = @POSTSTAGE1_CONFIGURE_FLAGS@
 
 
[+ FOR bootstrap-stage +]
[+ FOR bootstrap-stage +]
# Defaults for stage [+id+]; some are overridden below.
# Defaults for stage [+id+]; some are overridden below.
STAGE[+id+]_CFLAGS = $(STAGE_CFLAGS)
STAGE[+id+]_CFLAGS = $(STAGE_CFLAGS)
STAGE[+id+]_CXXFLAGS = $(CXXFLAGS)
STAGE[+id+]_CXXFLAGS = $(CXXFLAGS)
@if target-libstdc++-v3-bootstrap
@if target-libstdc++-v3-bootstrap
# Override the above if we're bootstrapping C++.
# Override the above if we're bootstrapping C++.
STAGE[+id+]_CXXFLAGS = $(STAGE[+id+]_CFLAGS)
STAGE[+id+]_CXXFLAGS = $(STAGE[+id+]_CFLAGS)
@endif target-libstdc++-v3-bootstrap
@endif target-libstdc++-v3-bootstrap
STAGE[+id+]_TFLAGS = $(STAGE_TFLAGS)
STAGE[+id+]_TFLAGS = $(STAGE_TFLAGS)
STAGE[+id+]_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
# STAGE1_CONFIGURE_FLAGS overridden below, so we can use
 
# POSTSTAGE1_CONFIGURE_FLAGS here.
 
STAGE[+id+]_CONFIGURE_FLAGS = \
 
        $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
[+ ENDFOR bootstrap-stage +]
[+ ENDFOR bootstrap-stage +]
 
 
# Only build the C compiler for stage1, because that is the only one that
# Only build the C compiler for stage1, because that is the only one that
# we can guarantee will build with the native compiler, and also it is the
# we can guarantee will build with the native compiler, and also it is the
# only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
# only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
Line 442... Line 451...
#   --enable-intermodule was passed, since the installed compiler
#   --enable-intermodule was passed, since the installed compiler
#   probably can't handle them.  Luckily, autoconf always respects
#   probably can't handle them.  Luckily, autoconf always respects
#   the last argument when conflicting --enable arguments are passed.
#   the last argument when conflicting --enable arguments are passed.
# * Likewise, we force-disable coverage flags, since the installed
# * Likewise, we force-disable coverage flags, since the installed
#   compiler probably has never heard of them.
#   compiler probably has never heard of them.
 
# * Don't remove this, because above we added
 
#   POSTSTAGE1_CONFIGURE_FLAGS to STAGE[+id+]_CONFIGURE_FLAGS, which
 
#   we don't want for STAGE1_CONFIGURE_FLAGS.
STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
          --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
          --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
 
 
STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
Line 1389... Line 1401...
[+ ENDIF +]
[+ ENDIF +]
@endif target-[+module+]
@endif target-[+module+]
[+ ENDFOR recursive_targets +]
[+ ENDFOR recursive_targets +]
[+ ENDFOR target_modules +]
[+ ENDFOR target_modules +]
 
 
 
@if target-libmudflap
 
.PHONY: check-target-libmudflap-c++
 
check-target-libmudflap-c++:
 
        $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap
 
 
 
@endif target-libmudflap
 
 
# ----------
# ----------
# GCC module
# GCC module
# ----------
# ----------
 
 
@if gcc-no-bootstrap
@if gcc-no-bootstrap

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.