source: rtems/make/custom/p4000.cfg @ bc85fd5a

4.104.114.84.95
Last change on this file since bc85fd5a was 9e52b29, checked in by Joel Sherrill <joel.sherrill@…>, on 07/11/00 at 15:26:40

Patch rtems-rc-20000711-2-cvs.diff from Ralf Corsepius <corsepiu@…>
that removes setting unused variables WORKSPACE_MB and HEAPSPACE_MB.

  • Property mode set to 100644
File size: 2.0 KB
Line 
1#
2#  Config file for the algorithmics p4000 evaluation board
3#
4#  $Id$
5#
6
7# NOTE: this file is broken !
8
9CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
10
11# This is the actual bsp directory used during the build process.
12RTEMS_BSP_FAMILY=p4000
13
14#  This section makes the target dependent options file.
15
16#  NDEBUG (C library)
17#     if defined asserts do not generate code.  This is commonly used
18#     as a command line option.
19#
20#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
21#     do not pause between screens of output in the rtems tests
22#
23#  RTEMS_DEBUG (RTEMS)
24#     If defined, debug checks in RTEMS and support library code are enabled.
25#
26
27define make-target-options
28        @echo "/* #define NDEBUG 1 */ "                     >>$@
29        @echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
30        @echo "/* #define RTEMS_DEBUG  1 */"                >>$@
31endef
32
33
34# optimize flag: typically -0, could use -O4 or -fast
35# -O4 is ok for RTEMS
36CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
37
38# The following are definitions of make-exe which will work using ld as
39# is currently required.  It is expected that as of gcc 2.8, the end user
40# will be able to override parts of the compilers specs and link using gcc.
41
42ifeq ($(RTEMS_USE_GCC272),yes)
43define make-exe
44        $(CC) $(LDFLAGS) -nostdlib -o $(basename $@).exe \
45            -T$(PROJECT_RELEASE)/lib/linkcmds $(LINK_OBJS) $(LINK_LIBS) $(LD_PATHS:%=-L %)
46        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1
47        $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec
48        $(RM) $(basename $@).srec1
49        $(NM) -n $(basename $@).exe > $(basename $@).num
50        $(SIZE) $(basename $@).exe
51endef
52else
53define make-exe
54        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
55            $(LINK_OBJS) $(LINK_LIBS)
56        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1
57        $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec
58        $(RM) $(basename $@).srec1
59        $(NM) -n $(basename $@).exe > $(basename $@).num
60        $(SIZE) $(basename $@).exe
61endef
62endif
63
64# Miscellaneous additions go here
65
Note: See TracBrowser for help on using the repository browser.