Changeset 73f5388 in rtems


Ignore:
Timestamp:
Jan 6, 2005, 11:31:43 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
0961040
Parents:
b3f1873
Message:

2004-01-06 Ralf Corsepius <ralf.corsepius@…>

  • automake/compile.am: Remove CONFIG.CC (Unused). Remove CPPFLAGS, CFLAGS, CXXFLAGS, ASFLAGS (Implicitly handled by automake). Add CCAS. Use AM_*FLAGS = RTEMS_*FLAGS. Remove LIB_VARIANT from LINK_*. Cleanup comments.
Location:
testsuites
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/ChangeLog

    rb3f1873 r73f5388  
     12004-01-06      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * automake/compile.am: Remove CONFIG.CC (Unused).
     4        Remove CPPFLAGS, CFLAGS, CXXFLAGS, ASFLAGS (Implicitly handled by
     5        automake). Add CCAS. Use AM_*FLAGS = RTEMS_*FLAGS.
     6        Remove LIB_VARIANT from LINK_*.
     7        Cleanup comments.
     8
    192004-01-06      Ralf Corsepius <ralf.corsepius@rtems.org>
    210
  • testsuites/automake/compile.am

    rb3f1873 r73f5388  
    1010## -------------------------------------------------------------------------
    1111
    12 ## The section below is based on make/compilers/gcc-target-default.cfg
    13 ## used in former versions of RTEMS.
    14 
    15 ##
    16 ## Set up the flags for the toolchains:
    17 ##
    18 ## We are considering 3 different building schemes here:
    19 ## * Using gcc's being able to accept -specs (aka gcc-2.8 building scheme)
    20 ## * Using gcc's not being able to accept -specs (aka gcc-2.7.2 building
    21 ##   scheme)
    22 ## * Using third party toolchains (aka non-gcc building scheme)
    23 ##
    24 ## Automake conditionals in use:
    25 ## RTEMS_USE_GCC     .. if we are using GCC
    26 
    27 ## NOTES:
    28 ## * The gcc-2.8 building scheme is the nominal building scheme and
    29 ##   is actively supported.
    30 ## * The non-gcc building scheme requires manually setting up environment
    31 ##   variables and is hardly tested at all
    32 
    33 ## CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V are the values we
    34 ## would want the corresponding macros to be set to.
    35 ##
    36 ## CFLAGS_OPTIMIZE, CFLAGS_DEBUG are set by the
    37 ## 'VARIANT=<OPTIMIZE|DEBUG>' targets to their _V values.
    38 
    39 ## XCPPFLAGS, XCFLAGS, XCXXFLAGS, XASFLAGS
    40 ## are used to add flags from the shell
    41 ## cf. make.info ("Implicit rules/variables" for details)
    42 
    4312if RTEMS_USE_GCC
    4413## All the stuff below is specific to gcc
    45 
    46 ## gcc >= 2.8.x
    4714GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS)
    48 else
    49 ## fall back to the old style compilers/*.cfg
    50 ## CONFIG.CC is supposed to be provided by <BSP>.cfg
    51 include $(CONFIG.CC)
    5215endif # RTEMS_USE_GCC
    5316
    5417DEFS = @DEFS@
    5518
    56 CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) $(DEFINES) $(XCPPFLAGS)
    57 CFLAGS   = @RTEMS_CFLAGS@ $(XCFLAGS)
    58 ## FIXME: This should be correct, but is not supported, yet
    59 # CXXFLAGS = @RTEMS_CXXFLAGS@ $(XCXXFLAGS)
    60 ## Fall back to using RTEMS_CFLAGS for C++
    61 CXXFLAGS = @RTEMS_CFLAGS@ $(XCXXFLAGS)
    62 ASFLAGS  = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
    63 
    6419LINK_LIBS = $(LD_LIBS)
    65 
    66 #
    67 # Client compiler and support tools
    68 #
    6920
    7021#
     
    13687LINK_OBJS = \
    13788    $(OBJS) \
    138     $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%$(LIB_VARIANT).rel)
     89    $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
    13990
    14091LINK_FILES =\
    14192    $(START_FILE) \
    14293    $(OBJS) \
    143     $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%$(LIB_VARIANT).rel)
     94    $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
    14495
    14596## -------------------------------------------------------------------------
     
    14798ARCH = o-optimize
    14899
    149 ## These are supposed to be set in make/custom/<bsp>.cfg
    150 CPU_CFLAGS = @CPU_CFLAGS@
    151 
    152100## -------------------------------------------------------------------------
    153 
    154101CC = @CC@ $(GCCSPECS)
    155102CXX = @CXX@ $(GCCSPECS)
    156103CPP = @CPP@ $(GCCSPECS)
     104CCAS = @CCAS@ $(GCCSPECS)
    157105
    158106LD = @LD@
     
    164112##
    165113AM_CPPFLAGS = $(RTEMS_CPPFLAGS)
    166 AM_CFLAGS =
    167 AM_CXXFLAGS =
     114AM_CFLAGS = $(RTEMS_CFLAGS)
     115AM_CXXFLAGS = $(RTEMS_CXXFLAGS)
    168116AM_CCASFLAGS = $(CPU_CFLAGS) $(RTEMS_CPPFLAGS) $(RTEMS_CCASFLAGS)
    169117
Note: See TracChangeset for help on using the changeset viewer.