forked from Imagelibrary/rtems
2004-04-12 David Querbach <querbach@realtime.bc.ca>
* custom/ss555.cfg: New file.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2004-04-12 David Querbach <querbach@realtime.bc.ca>
|
||||
|
||||
* custom/ss555.cfg: New file.
|
||||
|
||||
2004-04-09 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* make/Cygwin-posix.cfg: Remove DEFINES + LIBC_DEFINES (Meaningless
|
||||
|
||||
49
make/custom/ss555.cfg
Normal file
49
make/custom/ss555.cfg
Normal file
@@ -0,0 +1,49 @@
|
||||
#
|
||||
# Config file for an Intec Automation SS555 MPC555-based card
|
||||
#
|
||||
# This file is derived from:
|
||||
#
|
||||
# Config file for a PowerPC MPC860-based MBX821-001 card.
|
||||
# Config file for a PowerPC 403 based helas403 card
|
||||
# Config file for MPC860 based Ethernet Comm Board
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
GCC_CPU_MODEL=505
|
||||
RTEMS_CPU_MODEL=mpc555
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=ss555
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -D$(RTEMS_CPU_MODEL) -D$(RTEMS_BSP_FAMILY)
|
||||
|
||||
# Debugging flags: If we debug with optimization on, single-stepping
|
||||
# sometimes looks a little odd, but there won't be any surprises later.
|
||||
CFLAGS_DEBUG_V += -O4 -ggdb
|
||||
CXXFLAGS_DEBUG_V += -O4 -ggdb
|
||||
|
||||
# optimize flag: typically -O, could use -O4 or -fast
|
||||
# -O4 is ok for RTEMS
|
||||
# NOTE: some level of -O may be actually required by inline assembler
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
|
||||
CXXFLAGS_OPTIMIZE_V=-O4
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(SS555_LDFLAGS) \
|
||||
-o $(basename $@)_sym.exe $(LINK_OBJS) $(LINK_LIBS)
|
||||
$(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm
|
||||
cp $(basename $@)_sym.exe $(basename $@).exe
|
||||
$(STRIP) $(basename $@).exe
|
||||
$(SIZE) $(basename $@)_sym.exe
|
||||
endef
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
# Override default start file
|
||||
START_BASE=
|
||||
|
||||
Reference in New Issue
Block a user