OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [make/] [custom/] [dmv177.cfg] - Blame information for rev 1780

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
#
2
#  Config file for a PowerPC 603e based DY-4 VMEbus Single Board Computer.
3
#  This BSP should work with the following models:
4
#
5
#     + SVME-171/DMV-171
6
#     + SVME-176/DMV-176
7
#
8
#  dmv177.cfg,v 1.24 2002/05/14 15:51:29 joel Exp
9
#
10
 
11
include $(RTEMS_ROOT)/make/custom/default.cfg
12
 
13
RTEMS_CPU=powerpc
14
RTEMS_CPU_MODEL=ppc603e
15
 
16
# This is the actual bsp directory used during the build process.
17
RTEMS_BSP_FAMILY=dmv177
18
 
19
#  This contains the compiler options necessary to select the CPU model
20
#  and (hopefully) optimize for it.
21
#
22
CPU_CFLAGS = -mcpu=603e -D_OLD_EXCEPTIONS -Dppc603e
23
 
24
# optimize flag: typically -0, could use -O4 or -fast
25
# -O4 is ok for RTEMS
26
# NOTE: some level of -O may be actually required by inline assembler
27
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
28
 
29
define make-exe
30
        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
31
            -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
32
        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
33
        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
34
            $(PACKHEX) > $(basename $@).exe
35
        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
36
        $(SIZE) $(basename $@).nxe
37
        $(STRIP) $(basename $@).nxe
38
endef
39
 
40
# Miscellaneous additions go here

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.