source: rtems/make/custom/cvme961.cfg @ b3d3a34e

4.104.114.84.95
Last change on this file since b3d3a34e was b3d3a34e, checked in by Joel Sherrill <joel.sherrill@…>, on 04/15/98 at 15:10:47

Stack checker now enabled via initial set of user extensions. This
eliminates the need to build the entire application with the
STACK_CHECKER_ON macro defined.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1#
2#  Config file for the Cyclone i960ca CVME961 BSP
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=i960
10RTEMS_CPU_MODEL=i960ca
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=cvme961
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17#
18CPU_CFLAGS = -mca
19
20# -pipe does not work in our local configuration of FSF GCC 2.6.0
21# configured on top of Intel Release 2.4.  We did this to replace
22# the GCC 2.4.5 shipped with Intel Release 2.4.
23
24# optimize flag: typically -0, could use -O4 or -fast
25# -O4 is ok for RTEMS
26CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
27
28# Define this to yes if this target supports multiprocessor environments.
29HAS_MP=yes
30
31# This target does NOT support the KA9Q TCP/IP stack so ignore requests
32# to enable it.
33HAS_KA9Q=no
34
35#  This section makes the target dependent options file.
36
37#  NDEBUG (C library)
38#     if defined asserts do not generate code.  This is commonly used
39#     as a command line option.
40#
41#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
42#     do not pause between screens of output in the rtems tests
43#
44#  NO_TABLE_MOVE (SPARC PORT)
45#     do not have a second trap table -- use the BSP's
46#
47#  RTEMS_DEBUG (RTEMS)
48#     If defined, debug checks in RTEMS and support library code are enabled.
49
50define make-target-options
51        @echo "/* #define NDEBUG 1 */ "                     >>$@
52        @echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
53        @echo "/* #define RTEMS_DEBUG  1 */"                >>$@
54endef
55
56# The following are definitions of make-exe which will work using ld as
57# is currently required.  It is expected that as of gcc 2.8, the end user
58# will be able to override parts of the compilers specs and link using gcc.
59
60ifeq ($(RTEMS_USE_GCC272),yes)
61
62define make-exe
63        $(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
64             $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
65        $(NM) -g -n $(basename $@).exe > $(basename $@).num
66        $(SIZE) $(basename $@).exe
67endef
68
69else
70define make-exe
71        $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe $(LINK_OBJS)
72        $(NM) -g -n $(basename $@).exe > $(basename $@).num
73        $(SIZE) $(basename $@).exe
74endef
75endif
76
77# Miscellaneous additions go here
78
Note: See TracBrowser for help on using the repository browser.