mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-06 07:33:17 +00:00
2004-02-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Don't include host.am. * automake/compile.am: Further cleanups.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2004-02-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Don't include host.am.
|
||||
* automake/compile.am: Further cleanups.
|
||||
|
||||
2004-02-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* automake/lib.am: Remove (Unused).
|
||||
|
||||
@@ -46,4 +46,3 @@ pkgconfig_DATA = @host_alias@-@RTEMS_BSP@.pc
|
||||
DISTCLEANFILES += @host_alias@-@RTEMS_BSP@.pc
|
||||
|
||||
include $(top_srcdir)/automake/subdirs.am
|
||||
include $(top_srcdir)/automake/host.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 =
|
||||
|
||||
Reference in New Issue
Block a user