Changeset ea3f559 in rtems
- Timestamp:
- 01/05/05 17:52:33 (18 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- c58ba41
- Parents:
- 635c2fe7
- Location:
- c/src
- Files:
-
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/ChangeLog
r635c2fe7 rea3f559 1 2005-01-05 Ralf Corsepius <ralf.corsepius@rtems.org> 2 3 * configure.ac: Pass CFLAGS to cpukit configure. 4 * aclocal/rtems-flags.m4: Remove (Unused). 5 * aclocal/prog-ccas.m4: Remove $(GCCSPECS). 6 * aclocal/env-rtemsbsp.m4: 7 Comment out CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V, CPU_CFLAGS. 8 * aclocal/prog-cc.m4: Don't invoke _RTEMS_FLAGS to set up 9 RTEMS_CFLAGS. 10 * automake/compile.am: AM_CFLAGS = RTEMS_CFLAGS. Add AM_CXXFLAGS. 11 Remove CPPFLAGS, CFLAGS, CPU_CFLAGS, CFLAGS_OPTIMIZE, ASFLAGS. 12 Cleanup comments. 13 1 14 2005-01-01 Ralf Corsepius <ralf.corsepius@rtems.org> 2 15 -
c/src/aclocal/env-rtemsbsp.m4
r635c2fe7 rea3f559 9 9 AC_BEFORE([$0], [RTEMS_CHECK_CUSTOM_BSP])dnl 10 10 11 AC_ARG_VAR([CPU_CFLAGS],[CFLAGS specifying CPU-dependent features])12 AC_ARG_VAR([CFLAGS_OPTIMIZE_V],[CFLAGS for building the OPTIMIZE variant])13 AC_ARG_VAR([CFLAGS_DEBUG_V],[CFLAGS for building the DEBUG variant])11 # AC_ARG_VAR([CPU_CFLAGS],[CFLAGS specifying CPU-dependent features]) 12 # AC_ARG_VAR([CFLAGS_OPTIMIZE_V],[CFLAGS for building the OPTIMIZE variant]) 13 # AC_ARG_VAR([CFLAGS_DEBUG_V],[CFLAGS for building the DEBUG variant]) 14 14 AC_ARG_VAR([RTEMS_BSP_FAMILY],[RTEMS's BSP directory]) 15 15 AC_ARG_VAR([RTEMS_CPU_MODEL],[RTEMS's cpu model]) -
c/src/aclocal/prog-cc.m4
r635c2fe7 rea3f559 11 11 AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl 12 12 13 _RTEMS_FLAGS([CFLAGS], 14 ["\$(CPU_CFLAGS) \$(RTEMS_CFLAGS_\$(VARIANT_V)_V) \$(CFLAGS_\$(VARIANT_V)_V) -g"]) 13 CFLAGS=${CFLAGS-${CPU_CFLAGS} ${CFLAGS_OPTIMIZE_V}} 15 14 16 15 RTEMS_CHECK_TOOL(CC,gcc) … … 40 39 m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"]) 41 40 fi 41 AC_SUBST(RTEMS_CFLAGS) 42 42 43 43 AS_IF([test x"$rtems_cv_gcc_isystem" = x"yes"],[ -
c/src/aclocal/prog-ccas.m4
r635c2fe7 rea3f559 4 4 [ 5 5 AC_REQUIRE([RTEMS_PROG_CC]) 6 AC_SUBST(CCAS,["$CC \$(GCCSPECS)"])6 AC_SUBST(CCAS,["$CC"]) 7 7 AC_SUBST(CCASFLAGS,["-DASM \$(CFLAGS) \$(INCLUDES)"]) 8 8 ]) -
c/src/automake/compile.am
r635c2fe7 rea3f559 3 3 ## 4 4 5 ## -------------------------------------------------------------------------6 ## NOTE: This file is rather immature and has to be considered to be7 ## almost experimental.8 ##9 ## Expect frequent changes -- It deserves to be cleaned up :(10 ## -------------------------------------------------------------------------11 12 ## The section below is based on make/compilers/gcc-target-default.cfg13 ## used in former versions of RTEMS.14 15 ##16 ## Set up the flags for the toolchains:17 ##18 ## We are considering 3 different building schemes here:19 ## * Using gcc's being able to accept -specs (aka gcc-2.8 building scheme)20 ## * Using gcc's not being able to accept -specs (aka gcc-2.7.2 building21 ## scheme)22 ## * Using third party toolchains (aka non-gcc building scheme)23 ##24 ## Automake conditionals in use:25 5 ## RTEMS_USE_GCC .. if we are using GCC 26 27 ## NOTES:28 ## * The gcc-2.8 building scheme is the nominal building scheme and29 ## is actively supported.30 ## * The non-gcc building scheme requires manually setting up environment31 ## variables and is hardly tested at all32 33 ## CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V are the values we34 ## would want the corresponding macros to be set to.35 ##36 ## CFLAGS_OPTIMIZE, CFLAGS_DEBUG are set by the37 ## 'VARIANT=<OPTIMIZE|DEBUG>' targets to their _V values.38 6 39 7 if RTEMS_USE_GCC … … 42 10 endif # RTEMS_USE_GCC 43 11 44 CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) $(DEFINES)45 CFLAGS = @RTEMS_CFLAGS@46 ## FIXME: This should be correct, but is not supported, yet47 # CXXFLAGS = @RTEMS_CXXFLAGS@48 ## Fall back to using RTEMS_CFLAGS for C++49 CXXFLAGS = @RTEMS_CFLAGS@50 ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS)51 52 12 depend: 53 13 54 14 if RTEMS_USE_GCC 55 ## gcc >= 2.856 15 RTEMS_RELLDFLAGS = -qnolinkcmds -nostdlib -Wl,-r 57 16 endif 58 59 ## -------------------------------------------------------------------------60 ## These are supposed to be set in make/custom/<bsp>.cfg61 CPU_CFLAGS = @CPU_CFLAGS@62 CFLAGS_OPTIMIZE_V = @CFLAGS_OPTIMIZE_V@63 64 ## ------------------------------------------------------------------------65 ## Setup hard-coded flags66 if RTEMS_USE_GCC67 ## gcc >= gcc-2.868 RTEMS_CFLAGS_OPTIMIZE_V =69 RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused70 endif71 RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)72 17 73 18 ## ------------------------------------------------------------------------- … … 76 21 CXX = @CXX@ $(GCCSPECS) 77 22 CPP = @CPP@ $(GCCSPECS) 23 CCAS = @CCAS@ $(GCCSPECS) 78 24 79 25 ## 80 26 AM_CPPFLAGS = $(RTEMS_CPPFLAGS) 81 AM_CFLAGS = 82 AM_CXXFLAGS = 27 AM_CFLAGS = $(RTEMS_CFLAGS) 28 AM_CXXFLAGS = $(RTEMS_CFLAGS) 83 29 AM_CCASFLAGS = $(RTEMS_CPPFLAGS) $(RTEMS_CCASFLAGS) -
c/src/configure.ac
r635c2fe7 rea3f559 133 133 ['--with-project-root=${with_project_root}../$RTEMS_BSP/' \ 134 134 '--includedir=${exec_prefix}/${RTEMS_BSP}/lib/include' \ 135 '--libdir=${exec_prefix}/${RTEMS_BSP}/lib'], 135 '--libdir=${exec_prefix}/${RTEMS_BSP}/lib' \ 136 'CFLAGS="${CFLAGS}"'], 136 137 [test x"$multilib" = xno]) 137 138
Note: See TracChangeset
for help on using the changeset viewer.