source: rtems/make/custom/rxgen960.cfg @ 702c5f5

4.104.114.84.95
Last change on this file since 702c5f5 was 702c5f5, checked in by Joel Sherrill <joel.sherrill@…>, on 10/27/99 at 15:29:18

The rxgen960 BSP and i960 RPM support was submitted by Mark Bronson
<mark@…> of RAMIX.

  • Property mode set to 100644
File size: 2.8 KB
Line 
1#
2#  Config file for the generix RAMiX boards with i960
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=i960
10RTEMS_CPU_MODEL=i960rp
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=rxgen960
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17#
18CPU_CFLAGS = -mrp -D__i960RP__ -D__i960_RP__
19
20# -pipe does not work in our local configuration of FSF GCC 2.6.0
21# configured on top of Intel Release 2.4.  We did this to replace
22# the GCC 2.4.5 shipped with Intel Release 2.4.
23
24
25# we don't suuport libc dir* functions right now.
26RTEMS_USE_NEWLIB=yes
27
28# optimize flag: typically -0, could use -O4 or -fast
29# -O4 is ok for RTEMS
30CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
31
32# Define this to yes if this target supports multiprocessor environments.
33HAS_MP=yes
34
35# This target does NOT support the TCP/IP stack so ignore requests
36# to enable it.
37HAS_NETWORKING=no
38
39#  This section makes the target dependent options file.
40
41#  NDEBUG (C library)
42#     if defined asserts do not generate code.  This is commonly used
43#     as a command line option.
44#
45#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
46#     do not pause between screens of output in the rtems tests
47#
48#  NO_TABLE_MOVE (SPARC PORT)
49#     do not have a second trap table -- use the BSP's
50#
51#  RTEMS_DEBUG (RTEMS)
52#     If defined, debug checks in RTEMS and support library code are enabled.
53
54define make-target-options
55        @echo "/* #define NDEBUG 1 */ "                     >>$@
56        @echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
57        @echo "/* #define RTEMS_DEBUG  1 */"                >>$@
58endef
59
60# The following are definitions of make-exe which will work using ld as
61# is currently required.  It is expected that as of gcc 2.8, the end user
62# will be able to override parts of the compilers specs and link using gcc.
63
64# ifeq ($(RTEMS_USE_GCC272),yes)
65# ar x $(PROJECT_ROOT)/$(RTEMS_BSP_FAMILY)/lib/libbsp.a
66
67# LD_LIBS += $(PROJECT_RELEASE)/lib/libbsp.a
68
69define make-exe
70        cp $(PROJECT_ROOT)/c/src/lib/libbsp/i960/rxgen960/startup/o-rxgen960/*.o .
71        $(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
72             $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
73        $(NM) -g -n $(basename $@).exe > $(basename $@).num
74        $(LD) -u _sbrk $(LDFLAGS) -oformat binary -Map $(basename $@).map -N -T $(LINKCMDS) -o $(basename $@).bin \
75             $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
76        $(SIZE) $(basename $@).exe
77        rm -f *.o
78endef
79
80# else
81# define make-exe
82#       $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \
83#           $(LINK_OBJS) $(LINK_LIBS)
84#       $(NM) -g -n $(basename $@).exe > $(basename $@).num
85#       $(SIZE) $(basename $@).exe
86# endef
87# endif
88
89# Miscellaneous additions go here
90
Note: See TracBrowser for help on using the repository browser.