source: rtems/make/custom/mvme147.cfg @ 0280cb6

4.104.114.84.95
Last change on this file since 0280cb6 was 0280cb6, checked in by Joel Sherrill <joel.sherrill@…>, on 08/20/98 at 14:39:09

FreeBSD stack compiles for the first time (except libc/strsep.c)

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