Changeset 8e4cd5a in rtems for cpukit/automake/compile.am


Ignore:
Timestamp:
Dec 6, 2002, 11:21:50 AM (19 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f04c916
Parents:
9bd78e3e
Message:

2002-12-06 Ralf Corsepius <corsepiu@…>

  • automake/multilib.am: Don't include @RTEMS_BSP@.cfg.
  • automake/compile.am: Remove hard-coded CFLAGS_PROFILE_V. Add autoconf-supplied CPU_CFLAGS, CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V, CFLAGS_PROFILE_V. Hard-code RTEMS_CFLAGS_PROFILE = -pg
  • aclocal/prog-cc.m4: Sync with toplevel/aclocal/prog-cc.m4. Remove GCCSED.
  • aclocal/env-rtemsbsp.m4: Add AC_ARG_VAR for CPU_CFLAGS, CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V, CFLAGS_PROFILE_V.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/automake/compile.am

    r9bd78e3e r8e4cd5a  
    5757CFLAGS   = @CFLAGS@ $(CPU_CFLAGS) $(XCFLAGS)
    5858ASFLAGS  = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
    59 
    60 # profile flag; use gprof(1)
    61 CFLAGS_PROFILE_V=-pg
    6259
    6360#
     
    145142
    146143## These are supposed to be set in make/custom/<bsp>.cfg
    147 ## CFLAGS_OPTIMIZE_V =
    148 ## CFLAGS_DEBUG_V =
    149 ## CFLAGS_PROFILE_V =
     144CPU_CFLAGS = @CPU_CFLAGS@
     145CFLAGS_OPTIMIZE_V = @CFLAGS_OPTIMIZE_V@
     146CFLAGS_DEBUG_V = @CFLAGS_DEBUG_V@
     147CFLAGS_PROFILE_V = @CFLAGS_PROFILE_V@
    150148CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
    151149
     
    156154RTEMS_CFLAGS_OPTIMIZE_V =
    157155RTEMS_CFLAGS_DEBUG_V = -Wno-unused
    158 RTEMS_CFLAGS_PROFILE_V =
     156RTEMS_CFLAGS_PROFILE_V = -pg
    159157
    160158## non-gcc
Note: See TracChangeset for help on using the changeset viewer.