Changeset b3f1873 in rtems


Ignore:
Timestamp:
Jan 6, 2005, 11:23:24 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
73f5388
Parents:
1838993
Message:

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

  • automake/compile.am: Remove AS, ASCOMPILE, make-rel (Unused). Remove build-variants. Hard-code ARCH=o-optimize.
Location:
testsuites
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/ChangeLog

    r1838993 rb3f1873  
     12004-01-06      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * automake/compile.am: Remove AS, ASCOMPILE, make-rel (Unused).
     4        Remove build-variants. Hard-code ARCH=o-optimize.
     5
    162004-11-22      Ralf Corsepius <ralf.corsepius@rtems.org>
    27
  • testsuites/automake/compile.am

    r1838993 rb3f1873  
    8787CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
    8888
    89 # OBSOLETE: Don't use
    90 AS = $(CC)
    91 ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
    92 
    9389${ARCH}/%.o: %.c $(ARCH)/$(dirstamp)
    9490        ${COMPILE} -o $@ -c $<
     
    147143    $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%$(LIB_VARIANT).rel)
    148144
    149 if RTEMS_USE_GCC
    150 ## gcc >= 2.8
    151 define make-rel
    152         $(LINK) -qnolinkcmds -nostdlib -Wl,-r $(XLDFLAGS) $^
    153 endef
    154 else
    155 ## non-gcc
    156 define make-rel
    157         $(LINK) $(XLDFLAGS) $^
    158 endef
    159 endif
    160 
    161145## -------------------------------------------------------------------------
    162 
    163 ## translate VARIANT into VARIANT_V
    164 VARIANT = OPTIMIZE
    165 
    166 VARIANT_OPTIMIZE_V = OPTIMIZE
    167 VARIANT_DEBUG_V = DEBUG
    168 VARIANT_optimize_V = OPTIMIZE
    169 VARIANT_debug_V = DEBUG
    170 
    171 VARIANT_V = $(VARIANT_$(VARIANT)_V)
    172 
    173146## Setup the variant build subdirectory
    174 ARCH_OPTIMIZE_V = o-optimize
    175 ARCH_DEBUG_V = o-debug
    176 
    177 ARCH__V = $(ARCH_OPTIMIZE_V)
    178 ARCH = $(ARCH_$(VARIANT_V)_V)
    179 
    180 ## Setup the library suffix
    181 LIBSUFFIX_OPTIMIZE_V =
    182 LIBSUFFIX_DEBUG_V = _g
    183 LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
    184 
    185 LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
     147ARCH = o-optimize
    186148
    187149## These are supposed to be set in make/custom/<bsp>.cfg
    188150CPU_CFLAGS = @CPU_CFLAGS@
    189 CFLAGS_OPTIMIZE_V = @CFLAGS_OPTIMIZE_V@
    190 CFLAGS_DEBUG_V = @CFLAGS_DEBUG_V@
    191 CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
    192 
    193 ## ------------------------------------------------------------------------
    194 ## Setup hard-coded flags
    195 if RTEMS_USE_GCC
    196 ## gcc >= gcc-2.8
    197 RTEMS_CFLAGS_OPTIMIZE_V =
    198 RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
    199 
    200 ## non-gcc
    201 ## We can't guess what flags might be required here.
    202 ## Pass the values from the environment if you want to apply them.
    203 endif
    204 RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
    205151
    206152## -------------------------------------------------------------------------
     
    223169
    224170clean-local:
    225         $(RM) -r o-optimize o-debug $(CLEANDIRS)
    226         $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp
     171        $(RM) -r o-optimize $(CLEANDIRS)
     172        $(RM) Depends-o-optimize.tmp
Note: See TracChangeset for help on using the changeset viewer.