source: rtems/make/custom/mvme147.cfg @ 011677f

4.104.114.84.95
Last change on this file since 011677f was 011677f, checked in by Joel Sherrill <joel.sherrill@…>, on 02/18/99 at 17:54:03

Part of automake VI Patch from Ralf Corsepius <corsepiu@…>.

Adds variables to the custom/*cfg files to specify the location of
tools. The purpose is to remove hard-coded paths from the Makefiles.

In later steps this eases moving the tools to other locations.

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