Changeset 888622c4 in rtems


Ignore:
Timestamp:
06/06/03 04:39:43 (21 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
79ce8b2
Parents:
581c3117
Message:

2003-06-06 Ralf Corsepius <corsepiu@…>

PR 321:

  • leaf.cfg: Remove support for profile-variant.
  • main.cfg: Ditto.
  • compilers/gcc-no_bsp.cfg: Ditto.
  • compilers/gcc-portsw.cfg: Ditto.
  • compilers/gcc-target-default.cfg: Ditto.
Location:
make
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    r581c3117 r888622c4  
     12003-06-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        PR 321:
     4        * leaf.cfg: Remove support for profile-variant.
     5        * main.cfg: Ditto.
     6        * compilers/gcc-no_bsp.cfg: Ditto.
     7        * compilers/gcc-portsw.cfg: Ditto.
     8        * compilers/gcc-target-default.cfg: Ditto.
     9
    1102003-05-27      Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
    211
  • make/compilers/gcc-no_bsp.cfg

    r581c3117 r888622c4  
    1010GNU_TOOLS_PREFIX=
    1111
    12 # Additional target names (other than debug, profile)
     12# Additional target names (other than debug)
    1313TARGET_VARIANTS +=
    1414
     
    5555
    5656#
    57 # CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V, CFLAGS_PROFILE_V are the values we
     57# CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V are the values we
    5858# would want the corresponding macros to be set to.
    5959#
    60 # CFLAGS_OPTIMIZE, CFLAGS_DEBUG, CFLAGS_PROFILE are set in the leaf
    61 # Makefiles by the 'debug:' and 'profile:' targets to their _V values.
     60# CFLAGS_OPTIMIZE, CFLAGS_DEBUG are set in the leaf
     61# Makefiles by the 'debug:' targets to their _V values.
    6262#
    6363
     
    7979CFLAGS_DEBUG_V=-g -Wno-unused
    8080
    81 # profile flag; use gprof(1)
    82 CFLAGS_PROFILE_V=-pg
    83 
    8481# default is to optimize
    8582CFLAGS_OPTIMIZE=$(CFLAGS_OPTIMIZE_V)
     
    8986# ASFLAGS_DYNAMIC_V=
    9087
    91 CFLAGS=$(CFLAGS_DEFAULT) $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE) \
     88CFLAGS=$(CFLAGS_DEFAULT) $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) \
    9289       -I $(PROJECT_INCLUDE)
    9390
     
    116113
    117114# ld flags for profiling, debugging
    118 LDFLAGS_PROFILE_V =
    119115LDFLAGS_DEBUG_V =
    120116
    121 LDFLAGS=$(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)
     117LDFLAGS=$(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)
    122118
    123119#
     
    223219#       Replace foo.o with $(ARCH)/foo.o
    224220#       Replace $(ARCH) value with string $(ARCH)
    225 #           so that it will for debug and profile cases
     221#           so that it will for debug cases
    226222        $(COMPILE.c) -M   $^    |  \
    227223        $(SED) -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
  • make/compilers/gcc-portsw.cfg

    r581c3117 r888622c4  
    1111GNU_TOOLS_PREFIX=
    1212
    13 # Additional target names (other than debug, profile)
     13# Additional target names (other than debug)
    1414TARGET_VARIANTS +=
    1515
     
    4141
    4242#
    43 # CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V, CFLAGS_PROFILE_V are the values we
     43# CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V are the values we
    4444# would want the corresponding macros to be set to.
    4545#
    46 # CFLAGS_OPTIMIZE, CFLAGS_DEBUG, CFLAGS_PROFILE are set in the leaf
    47 # Makefiles by the 'debug:' and 'profile:' targets to their _V values.
     46# CFLAGS_OPTIMIZE, CFLAGS_DEBUG are set in the leaf
     47# Makefiles by the 'debug:' targets to their _V values.
    4848#
    4949
     
    6161CFLAGS_DEBUG_V=-g -O0 -DRTEMS_DEBUG -DSTACK_CHECKER_ON
    6262
    63 # profile flag; use gprof(1)
    64 CFLAGS_PROFILE_V=
    65 
    6663# default is to optimize
    6764CFLAGS_OPTIMIZE=$(CFLAGS_OPTIMIZE_V)
     
    7168#ASFLAGS_DYNAMIC_V=
    7269
    73 CFLAGS=$(CFLAGS_DEFAULT) $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE)
     70CFLAGS=$(CFLAGS_DEFAULT) $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG)
    7471
    7572# List of library paths without -L
     
    9794
    9895# ld flags for profiling, debugging
    99 LDFLAGS_PROFILE_V =
    10096LDFLAGS_DEBUG_V =
    10197
    102 LDFLAGS=$(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)
     98LDFLAGS=$(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)
    10399
    104100#
     
    211207#       Replace foo.o with $(ARCH)/foo.o
    212208#       Replace $(ARCH) value with string $(ARCH)
    213 #           so that it will for debug and profile cases
     209#           so that it will for debug cases
    214210        $(COMPILE.c) -Hmake $^ | \
    215211            $(SED) -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
  • make/compilers/gcc-target-default.cfg

    r581c3117 r888622c4  
    66
    77##
    8 # CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V, CFLAGS_PROFILE_V are the values we
     8# CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V are the values we
    99# would want the corresponding macros to be set to.
    1010#
    11 # CFLAGS_OPTIMIZE, CFLAGS_DEBUG, CFLAGS_PROFILE are set in the leaf
    12 # Makefiles by the 'debug:' and 'profile:' targets to their _V values.
     11# CFLAGS_OPTIMIZE, CFLAGS_DEBUG are set in the leaf
     12# Makefiles by the 'debug:' targets to their _V values.
    1313#
    1414
     
    5656CXXFLAGS_OPTIMIZE_V+=-g
    5757
    58 # profile flag; use gprof(1)
    59 CFLAGS_PROFILE_V+=-pg
    60 CXXFLAGS_PROFILE_V+=-pg
    61 
    6258ifndef AUTOMAKE
    6359CFLAGS_$(VARIANT)  =$(CFLAGS_$(VARIANT)_V)
     
    6662
    6763ifndef AUTOMAKE
    68 CFLAGS   += $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE)
    69 CXXFLAGS += $(CXXFLAGS_OPTIMIZE) $(CXXFLAGS_DEBUG) $(CXXFLAGS_PROFILE)
     64CFLAGS   += $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG)
     65CXXFLAGS += $(CXXFLAGS_OPTIMIZE) $(CXXFLAGS_DEBUG)
    7066endif
    7167
     
    9490
    9591# ld flags for profiling, debugging
    96 LDFLAGS_PROFILE_V =
    9792LDFLAGS_DEBUG_V = -qrtems_debug
    9893
    99 LDFLAGS=$(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)
     94LDFLAGS=$(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)
    10095
    10196#
     
    170165#       Replace foo.o with $(ARCH)/foo.o
    171166#       Replace $(ARCH) value with string $(ARCH)
    172 #           so that it will for debug and profile cases
     167#           so that it will for debug cases
    173168        $(COMPILE.c) $(AM_CPPFLAGS) $(AM_CFLAGS) -M   $^    |  \
    174169        $(SED) -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
  • make/leaf.cfg

    r581c3117 r888622c4  
    3737#
    3838# LIBSUFFIX_VA, will "index" into LIBSUFF-*-v macros and
    39 #   convert our ${ARCH} back into .a or _g.a or _p.a based on debug or profile.
     39#   convert our ${ARCH} back into .a or _g.a or _p.a based on debug.
    4040#   Useful for installing libraries.
    4141#
     
    4343LIBSUFFIX_OPTIMIZE_V=
    4444LIBSUFFIX_DEBUG_V=_g
    45 LIBSUFFIX_PROFILE_V=_p
    4645
    4746LIB_VARIANT=$(LIBSUFFIX_$(VARIANT_V)_V)
     
    6261debug:
    6362        $(MAKE) -f $(MAKEFILE) MAKEFILE=$(MAKEFILE) VARIANT=DEBUG
    64 
    65 profile:
    66         $(MAKE) -f $(MAKEFILE) MAKEFILE=$(MAKEFILE) VARIANT=PROFILE
    6763endif
    6864
    6965#
    70 # VARIANT_VA will convert our ${ARCH} back into "" or "debug" or "profile".
     66# VARIANT_VA will convert our ${ARCH} back into "" or "debug".
    7167#   Handy when one makefile wants to hop over into a peer's tree and
    7268#   build something "the same" way.
     
    7571VARIANT-OPTIMIZE-v =
    7672VARIANT-DEBUG-v = debug
    77 VARIANT-PROFILE-v = profile
    7873
    7974VARIANT_VA = $(VARIANT-$(VARIANT_V)-v)
    8075
    8176#
    82 # TARGET_VA will convert $@ (expected to be 'debug' or 'profile' etc.)
     77# TARGET_VA will convert $@ (expected to be 'debug' etc.)
    8378#   into "" or "install" as appropriate.
    8479#   Used for variant recursion.
     
    8681
    8782TARGET_debug_V = all
    88 TARGET_profile_V = all
    8983
    9084TARGET_VA = $(TARGET_$@_V)
  • make/main.cfg

    r581c3117 r888622c4  
    3232VARIANT_OPTIMIZE_V = OPTIMIZE
    3333VARIANT_DEBUG_V = DEBUG
    34 VARIANT_PROFILE_V = PROFILE
    3534VARIANT_optimize_V = OPTIMIZE
    3635VARIANT_debug_V = DEBUG
    37 VARIANT_profile_V = PROFILE
    3836
    3937VARIANT_V = $(VARIANT_$(VARIANT)_V)
     
    4240ARCH_OPTIMIZE_V = o-optimize
    4341ARCH_DEBUG_V = o-debug
    44 ARCH_PROFILE_V = o-profile
    4542
    4643ARCH__V = $(ARCH_OPTIMIZE_V)
     
    5956# Target variant names
    6057#
    61 TARGET_VARIANTS = optimize debug profile
     58TARGET_VARIANTS = optimize debug
    6259
    6360#
    64 # Generate list of object directories: o-optimize, o-debug, o-profile
     61# Generate list of object directories: o-optimize, o-debug
    6562#
    6663VARIANTS=${TARGET_VARIANTS:%=o-%}
Note: See TracChangeset for help on using the changeset viewer.