mirror of
https://github.com/t-crest/rtems.git
synced 2025-11-16 12:34:47 +00:00
2002-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Remove LDFLAGS_INCOMPLETE. Remove LDFLAGS. Add CCAS, CCASCOMPILE. Remove compilation rules for *.cpp, *.cxx, *.C. Use CCASCOMPILE to compile *.S. Add -pg to RTEMS_CFLAGS_PROFILE_V.
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
|
2002-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* automake/compile.am: Remove LDFLAGS_INCOMPLETE.
|
||||||
|
Remove LDFLAGS.
|
||||||
|
Add CCAS, CCASCOMPILE.
|
||||||
|
Remove compilation rules for *.cpp, *.cxx, *.C.
|
||||||
|
Use CCASCOMPILE to compile *.S.
|
||||||
|
Add -pg to RTEMS_CFLAGS_PROFILE_V.
|
||||||
|
|
||||||
2002-11-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2002-11-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* configure.ac: Remove c/make.
|
* configure.ac: Remove c/make.
|
||||||
|
|||||||
@@ -66,12 +66,6 @@ CFLAGS_PROFILE_V=-pg
|
|||||||
CXXFLAGS_PROFILE_V=-pg
|
CXXFLAGS_PROFILE_V=-pg
|
||||||
LDFLAGS_PROFILE_V =
|
LDFLAGS_PROFILE_V =
|
||||||
|
|
||||||
# ld flag for incomplete link
|
|
||||||
LDFLAGS_INCOMPLETE = -r
|
|
||||||
|
|
||||||
# ld flags for profiling, debugging
|
|
||||||
LDFLAGS=$(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG)
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Client compiler and support tools
|
# Client compiler and support tools
|
||||||
#
|
#
|
||||||
@@ -92,6 +86,10 @@ CXXLD = $(CXX)
|
|||||||
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
|
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||||
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
|
|
||||||
|
CCAS = $(CC)
|
||||||
|
CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
|
||||||
|
|
||||||
|
# OBSOLETE: Don't use
|
||||||
AS = $(CC)
|
AS = $(CC)
|
||||||
ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
|
ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
|
||||||
|
|
||||||
@@ -103,21 +101,9 @@ ${ARCH}/%.o: %.cc
|
|||||||
test -d $(ARCH) || mkdir $(ARCH)
|
test -d $(ARCH) || mkdir $(ARCH)
|
||||||
${CXXCOMPILE} -o $@ -c $<
|
${CXXCOMPILE} -o $@ -c $<
|
||||||
|
|
||||||
${ARCH}/%.o: %.cpp
|
|
||||||
test -d $(ARCH) || mkdir $(ARCH)
|
|
||||||
${CXXCOMPILE} -o $@ -c $<
|
|
||||||
|
|
||||||
${ARCH}/%.o: %.cxx
|
|
||||||
test -d $(ARCH) || mkdir $(ARCH)
|
|
||||||
${CXXCOMPILE} -o $@ -c $<
|
|
||||||
|
|
||||||
${ARCH}/%.o: %.C
|
|
||||||
test -d $(ARCH) || mkdir $(ARCH)
|
|
||||||
${CXXCOMPILE} -o $@ -c $<
|
|
||||||
|
|
||||||
${ARCH}/%.o: %.S
|
${ARCH}/%.o: %.S
|
||||||
test -d $(ARCH) || mkdir $(ARCH)
|
test -d $(ARCH) || mkdir $(ARCH)
|
||||||
${ASCOMPILE} -DASM -o $@ -c $<
|
${CCASCOMPILE} -DASM -o $@ -c $<
|
||||||
|
|
||||||
# Dependency files for use by gmake
|
# Dependency files for use by gmake
|
||||||
# NOTE: we don't put them into $(ARCH)
|
# NOTE: we don't put them into $(ARCH)
|
||||||
@@ -219,7 +205,7 @@ if RTEMS_USE_GCC
|
|||||||
## gcc >= gcc-2.8
|
## gcc >= gcc-2.8
|
||||||
RTEMS_CFLAGS_OPTIMIZE_V =
|
RTEMS_CFLAGS_OPTIMIZE_V =
|
||||||
RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
|
RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
|
||||||
RTEMS_CFLAGS_PROFILE_V =
|
RTEMS_CFLAGS_PROFILE_V = -pg
|
||||||
|
|
||||||
## non-gcc
|
## non-gcc
|
||||||
## We can't guess what flags might be required here.
|
## We can't guess what flags might be required here.
|
||||||
|
|||||||
Reference in New Issue
Block a user