Changeset 8e4cd5a in rtems


Ignore:
Timestamp:
Dec 6, 2002, 11:21:50 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 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.
Location:
cpukit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r9bd78e3e r8e4cd5a  
     12002-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * automake/multilib.am: Don't include @RTEMS_BSP@.cfg.
     4        * automake/compile.am: Remove hard-coded CFLAGS_PROFILE_V.
     5        Add autoconf-supplied CPU_CFLAGS, CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V,
     6        CFLAGS_PROFILE_V.
     7        Hard-code RTEMS_CFLAGS_PROFILE = -pg
     8        * aclocal/prog-cc.m4: Sync with toplevel/aclocal/prog-cc.m4.
     9        Remove GCCSED.
     10        * aclocal/env-rtemsbsp.m4: Add AC_ARG_VAR for CPU_CFLAGS,
     11        CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V, CFLAGS_PROFILE_V.
     12
    1132002-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    214
  • cpukit/aclocal/env-rtemsbsp.m4

    r9bd78e3e r8e4cd5a  
    88AC_BEFORE([$0], [RTEMS_PROJECT_ROOT])dnl
    99AC_BEFORE([$0], [RTEMS_CHECK_CUSTOM_BSP])dnl
     10
     11AC_ARG_VAR([CPU_CFLAGS],[])
     12AC_ARG_VAR([CFLAGS_OPTIMIZE_V],[])
     13AC_ARG_VAR([CFLAGS_DEBUG_V],[])
     14AC_ARG_VAR([CFLAGS_PROFILE_V],[])
    1015
    1116AC_ARG_VAR([RTEMS_BSP],[RTEMS_BSP to build])
  • cpukit/aclocal/prog-cc.m4

    r9bd78e3e r8e4cd5a  
    1010AC_BEFORE([$0], [AC_PROG_CC])dnl
    1111AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
     12
     13_RTEMS_FLAGS([CFLAGS],
     14  ["\$(CPU_CFLAGS) \$(RTEMS_CFLAGS_\$(VARIANT_V)_V) \$(CFLAGS_\$(VARIANT_V)_V) -g"])
    1215
    1316RTEMS_CHECK_TOOL(CC,gcc)
     
    3134
    3235if test "$GCC" = yes; then
    33 ]
    34 m4_if([$1],,[],[CPPFLAGS="$CPPFLAGS $1"])
    35 [
    36 CFLAGS=${CFLAGS--g -Wall}
     36RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall"
     37m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"])
    3738fi
    38 
    39 dnl FIXME: HACK for egcs/cygwin mixing '\\' and '/' in gcc -print-*
    40 #case $build_os in
    41 #*cygwin*)     GCCSED="| sed 's%\\\\%/%g'" ;;
    42 #*) ;;
    43 #esac
    44 AC_SUBST(GCCSED)
    4539])
  • 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
  • cpukit/automake/multilib.am

    r9bd78e3e r8e4cd5a  
    3434maintainer-clean-multi:
    3535        $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
    36 else
    37 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3836endif
Note: See TracChangeset for help on using the changeset viewer.