summaryrefslogtreecommitdiffstats
path: root/c/src/automake
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-02-12 14:27:25 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-02-12 14:27:25 +0000
commit0724e79bef5686ef2b510173597be343fbdb4683 (patch)
treea519520563286fcdff0417e6397d75315fcaf7e9 /c/src/automake
parent8c760486d6d8164fc3ecfbebf31ed549a7e8bdb8 (diff)
downloadrtems-0724e79bef5686ef2b510173597be343fbdb4683.tar.bz2
2004-02-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Don't include host.am. * automake/compile.am: Further cleanups.
Diffstat (limited to 'c/src/automake')
-rw-r--r--c/src/automake/compile.am32
1 files changed, 3 insertions, 29 deletions
diff --git a/c/src/automake/compile.am b/c/src/automake/compile.am
index 0aee6951aa..e494314ed5 100644
--- a/c/src/automake/compile.am
+++ b/c/src/automake/compile.am
@@ -38,38 +38,22 @@
if RTEMS_USE_GCC
## All the stuff below is specific to gcc
-
-## gcc >= 2.8.x
GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS)
-else
-## fall back to the old style compilers/*.cfg
-## CONFIG.CC is supposed to be provided by <BSP>.cfg
-include $(CONFIG.CC)
endif # RTEMS_USE_GCC
-DEFS = @DEFS@
-
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) $(DEFINES)
CFLAGS = @RTEMS_CFLAGS@
## FIXME: This should be correct, but is not supported, yet
-# CXXFLAGS = @RTEMS_CXXFLAGS@ $(XCXXFLAGS)
+# CXXFLAGS = @RTEMS_CXXFLAGS@
## Fall back to using RTEMS_CFLAGS for C++
-CXXFLAGS = @RTEMS_CFLAGS@ $(XCXXFLAGS)
-ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
+CXXFLAGS = @RTEMS_CFLAGS@
+ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS)
depend:
if RTEMS_USE_GCC
## gcc >= 2.8
RTEMS_RELLDFLAGS = -qnolinkcmds -nostdlib -Wl,-r
-define make-rel
- $(LINK) $(RTEMS_RELLDFLAGS) $^
-endef
-else
-## non-gcc
-define make-rel
- $(LINK) $(RTEMS_RELLDFLAGS) $^
-endef
endif
## -------------------------------------------------------------------------
@@ -103,10 +87,6 @@ if RTEMS_USE_GCC
## gcc >= gcc-2.8
RTEMS_CFLAGS_OPTIMIZE_V =
RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
-
-## non-gcc
-## We can't guess what flags might be required here.
-## Pass the values from the environment if you want to apply them.
endif
RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
@@ -116,12 +96,6 @@ CC = @CC@ $(GCCSPECS)
CXX = @CXX@ $(GCCSPECS)
CPP = @CPP@ $(GCCSPECS)
-LD = @LD@
-OBJCOPY = @OBJCOPY@
-NM = @NM@
-SIZE = @SIZE@
-STRIP = @STRIP@
-
##
AM_CPPFLAGS = $(RTEMS_CPPFLAGS)
AM_CFLAGS =