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

4.104.114.84.95
Last change on this file since bffb938 was bffb938, checked in by Joel Sherrill <joel.sherrill@…>, on 01/20/98 at 19:30:30

Removed PROJECT_HOME and CONFIG_DIR variables.

  • Property mode set to 100644
File size: 2.6 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#  STACK_CHECKER_ON (RTEMS support code)
48#     If defined, stack bounds checking is enabled.
49#
50#  STACK_CHECKER_REPORT_USAGE (RTEMS support code)
51#     If this and STACK_CHECKER_ON are defined, then a report on stack usage
52#     per task is printed when the program exits.
53#
54#  RTEMS_DEBUG (RTEMS)
55#     If defined, debug checks in RTEMS and support library code are enabled.
56
57define make-target-options
58        @echo "/* #define NDEBUG 1 */ "                     >>$@
59        @echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
60        @echo "/* #define STACK_CHECKER_ON  1 */"           >>$@
61        @echo "/* #define STACK_CHECKER_REPORT_USAGE  1 */" >>$@
62        @echo "/* #define RTEMS_DEBUG  1 */"                >>$@
63endef
64
65# The following are definitions of make-exe which will work using ld as
66# is currently required.  It is expected that as of gcc 2.8, the end user
67# will be able to override parts of the compilers specs and link using gcc.
68
69ifeq ($(RTEMS_USE_GCC272),yes)
70
71define make-exe
72        $(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
73             $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
74        $(NM) -g -n $(basename $@).exe > $(basename $@).num
75        $(SIZE) $(basename $@).exe
76endef
77
78else
79define make-exe
80        $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe $(LINK_OBJS)
81        $(NM) -g -n $(basename $@).exe > $(basename $@).num
82        $(SIZE) $(basename $@).exe
83endef
84endif
85
86# Miscellaneous additions go here
87
Note: See TracBrowser for help on using the repository browser.