source: rtems/make/custom/mvme136.cfg @ 1ea9c3f

4.104.114.84.95
Last change on this file since 1ea9c3f was 1ea9c3f, checked in by Joel Sherrill <joel.sherrill@…>, on 04/06/98 at 16:33:48

Purged references to STACK_CHECKER_REPORT_USAGE

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