source: rtems/make/custom/p4650.cfg @ 3a8915e

4.104.114.84.95
Last change on this file since 3a8915e was 3a8915e, checked in by Joel Sherrill <joel.sherrill@…>, on 08/06/99 at 17:55:25

Patch rtems-rc-19990709-6-diff from Ralf Corsepius <corsepiu@…>
applied. This modified many Makefiles and custom files and makes many more
settings (network, multiprocessing, etc) gnerated by autoconf.

  • Property mode set to 100644
File size: 2.6 KB
Line 
1#
2#  Config file for the algorithmics p4000 evaluation board with R4650 cpu
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=mips64orion
10RTEMS_CPU_MODEL=R4650
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=p4000
14
15CPU_CFLAGS=-m4650 -G0
16CCMIPS_CFLAGS_CPU=-cpu=r4650
17
18# Override default start file
19START_BASE=idt_csu
20
21CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
22
23#  This section makes the target dependent options file.
24
25#  NDEBUG (C library)
26#     if defined asserts do not generate code.  This is commonly used
27#     as a command line option.
28#
29#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
30#     do not pause between screens of output in the rtems tests
31#
32#  RTEMS_DEBUG (RTEMS)
33#     If defined, debug checks in RTEMS and support library code are enabled.
34#
35#  WORKSPACE_MB (p4000)
36#     Defines the size in Megabytes of the RTEMS Workspace.
37#
38#  HEAPSPACE_MB (p4000)
39#     Defines the size in Megabytes of the C Program Heap.
40
41define make-target-options
42        @echo "/* #define NDEBUG 1 */ "                     >>$@
43        @echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
44        @echo "/* #define RTEMS_DEBUG  1 */"                >>$@
45        @echo "#define WORKSPACE_MB 2"                      >>$@
46        @echo "#define HEAPSPACE_MB 1"                      >>$@
47endef
48
49
50# optimize flag: typically -0, could use -O4 or -fast
51# -O4 is ok for RTEMS
52CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
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)
59# This rule was used in 3.6.0
60#       $(CC) $(LDFLAGS) -nostdlib -o $(basename $@).exe \
61#           -T$(PROJECT_RELEASE)/lib/linkcmds $(LINK_FILES) $(LD_PATHS:%=-L %)
62
63define make-exe
64        $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
65            $(START_FILE) $(LINK_OBJS) \
66            --start-group $(LINK_LIBS) --end-group $(LD_LIBS)
67        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1
68        $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec
69        $(RM) $(basename $@).srec1
70        $(NM) -n $(basename $@).exe > $(basename $@).num
71        $(SIZE) $(basename $@).exe
72endef
73else
74define make-exe
75        $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \
76            $(LINK_OBJS) $(LINK_LIBS) $(LD_LIBS)
77        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1
78        $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec
79        $(RM) $(basename $@).srec1
80        $(NM) -n $(basename $@).exe > $(basename $@).num
81        $(SIZE) $(basename $@).exe
82endef
83endif
84
85# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.