Changeset acd7c408 in rtems


Ignore:
Timestamp:
May 27, 2003, 1:47:02 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
f4e204c
Parents:
d46ec86
Message:

2003-05-27 Ralf Corsepius <corsepiu@…>

PR 321:

  • aclocal/check-bsp-cache.m4: Remove support for profile-variant.
  • aclocal/env-rtemsbsp.m4
  • automake/compile.am
  • automake/host.am
  • automake/local.am
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rd46ec86 racd7c408  
     12003-05-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        PR 321:
     4        * aclocal/check-bsp-cache.m4: Remove support for profile-variant.
     5        * aclocal/env-rtemsbsp.m4
     6        * automake/compile.am
     7        * automake/host.am
     8        * automake/local.am
     9
    1102003-05-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    211
  • aclocal/check-bsp-cache.m4

    rd46ec86 racd7c408  
    3232RTEMS_BSP_CFLAGS_DEBUG_V=$rtems_cv_RTEMS_BSP_CFLAGS_DEBUG_V
    3333AC_SUBST(RTEMS_BSP_CFLAGS_DEBUG_V)
    34 
    35 AC_CACHE_CHECK([for RTEMS_BSP_CFLAGS_PROFILE_V],[rtems_cv_RTEMS_BSP_CFLAGS_PROFILE_V],
    36 [. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache])
    37 RTEMS_BSP_CFLAGS_PROFILE_V=$rtems_cv_RTEMS_BSP_CFLAGS_PROFILE_V
    38 AC_SUBST(RTEMS_BSP_CFLAGS_PROFILE_V)
    3934])
  • aclocal/env-rtemsbsp.m4

    rd46ec86 racd7c408  
    1212AC_ARG_VAR([CFLAGS_OPTIMIZE_V],[CFLAGS for building the OPTIMIZE variant])
    1313AC_ARG_VAR([CFLAGS_DEBUG_V],[CFLAGS for building the DEBUG variant])
    14 AC_ARG_VAR([CFLAGS_PROFILE_V],[CFLAGS for building the PROFILE variant])
    1514AC_ARG_VAR([RTEMS_BSP_FAMILY],[RTEMS's BSP directory])
    1615AC_ARG_VAR([RTEMS_CPU_MODEL],[RTEMS's cpu model])
  • automake/compile.am

    rd46ec86 racd7c408  
    3131##   variables and is hardly tested at all
    3232
    33 ## CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V, CFLAGS_PROFILE_V are the values we
     33## CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V are the values we
    3434## would want the corresponding macros to be set to.
    3535##
    36 ## CFLAGS_OPTIMIZE, CFLAGS_DEBUG, CFLAGS_PROFILE are set by the
    37 ## 'VARIANT=<OPTIMIZE|DEBUG|PROFILE>' targets to their _V values.
     36## CFLAGS_OPTIMIZE, CFLAGS_DEBUG are set by the
     37## 'VARIANT=<OPTIMIZE|DEBUG>' targets to their _V values.
    3838
    3939## XCPPFLAGS, XCFLAGS, XCXXFLAGS, XASFLAGS
     
    118118##       Replace foo.o with $(ARCH)/foo.o
    119119##       Replace $(ARCH) value with string $(ARCH)
    120 ##           so that it will for debug and profile cases
     120##           so that it will for debug cases
    121121        $(COMPILE) -M   $^    |  \
    122122        sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
     
    162162VARIANT_OPTIMIZE_V = OPTIMIZE
    163163VARIANT_DEBUG_V = DEBUG
    164 VARIANT_PROFILE_V = PROFILE
    165164VARIANT_optimize_V = OPTIMIZE
    166165VARIANT_debug_V = DEBUG
    167 VARIANT_profile_V = PROFILE
    168166
    169167VARIANT_V = $(VARIANT_$(VARIANT)_V)
     
    172170ARCH_OPTIMIZE_V = o-optimize
    173171ARCH_DEBUG_V = o-debug
    174 ARCH_PROFILE_V = o-profile
    175172
    176173ARCH__V = $(ARCH_OPTIMIZE_V)
     
    180177LIBSUFFIX_OPTIMIZE_V =
    181178LIBSUFFIX_DEBUG_V = _g
    182 LIBSUFFIX_PROFILE_V = _p
    183179LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
    184180
     
    189185CFLAGS_OPTIMIZE_V = @CFLAGS_OPTIMIZE_V@
    190186CFLAGS_DEBUG_V = @CFLAGS_DEBUG_V@
    191 CFLAGS_PROFILE_V = @CFLAGS_PROFILE_V@
    192187CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
    193188
     
    198193RTEMS_CFLAGS_OPTIMIZE_V =
    199194RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
    200 RTEMS_CFLAGS_PROFILE_V = -pg
    201195
    202196## non-gcc
     
    228222
    229223clean-local:
    230         $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
    231         $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
     224        $(RM) -r o-optimize o-debug $(CLEANDIRS)
     225        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp
  • automake/host.am

    rd46ec86 racd7c408  
    1414.PHONY: debug
    1515
    16 profile:
    17         @echo
    18         @echo "\"make profile\" is obsolete, instead use:"
    19         @echo " make VARIANT=PROFILE"
    20         @echo
    21 
    2216preinstall-am: $(PREINSTALL_FILES)
    2317preinstall: preinstall-am
  • automake/local.am

    rd46ec86 racd7c408  
    88
    99.PHONY: debug
    10 
    11 profile:
    12         @echo
    13         @echo "\"make profile\" is obsolete, instead use:"
    14         @echo " make VARIANT=PROFILE"
    15         @echo
    16 
    17 .PHONY: profile
    1810
    1911preinstall-am: $(PREINSTALL_FILES)
     
    2921
    3022clean-local:
    31         $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
    32         $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
     23        $(RM) -r o-optimize o-debug $(CLEANDIRS)
     24        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp
    3325
    3426PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
Note: See TracChangeset for help on using the changeset viewer.