Changeset 8e4cd5a in rtems for cpukit/aclocal


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/aclocal
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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])
Note: See TracChangeset for help on using the changeset viewer.