source: rtems/make/custom/mvme136.cfg @ 97e2729d

4.104.114.84.95
Last change on this file since 97e2729d was 97e2729d, checked in by Joel Sherrill <joel.sherrill@…>, on 11/23/98 at 17:38:09

Added --disable-multiprocessing flag and modified a lot of files to make
it work.

  • Property mode set to 100644
File size: 2.2 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# This target does NOT support the TCP/IP stack so ignore requests
26# to enable it.
27HAS_NETWORKING=no
28
29#  This section makes the target dependent options file.
30
31#  NDEBUG (C library)
32#     if defined asserts do not generate code.  This is commonly used
33#     as a command line option.
34#
35#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
36#     do not pause between screens of output in the rtems tests
37#
38#  RTEMS_DEBUG (RTEMS)
39#     If defined, debug checks in RTEMS and support library code are enabled.
40
41define make-target-options
42        @echo "/* #define NDEBUG 1 */ "                     >>$@
43        @echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
44        @echo "/* #define RTEMS_DEBUG  1 */"                >>$@
45endef
46
47# The following are definitions of make-exe which will work using ld as
48# is currently required.  It is expected that as of gcc 2.8, the end user
49# will be able to override parts of the compilers specs and link using gcc.
50
51ifeq ($(RTEMS_USE_GCC272),yes)
52define make-exe
53        $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \
54            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
55        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
56        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
57            $(PROJECT_TOOLS)/packhex > $(basename $@).exe
58        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
59        $(SIZE) $(basename $@).nxe
60endef
61else
62define make-exe
63        $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).nxe \
64            $(LINK_OBJS) $(LINK_LIBS)
65        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
66        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
67            $(PROJECT_TOOLS)/packhex > $(basename $@).exe
68        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
69        $(SIZE) $(basename $@).nxe
70endef
71endif
72# Miscellaneous additions go here
73
74
75
Note: See TracBrowser for help on using the repository browser.