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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
#
2
#  Config file for a "ODS 68302" BSP
3
#
4
#  Differs from the gen68302 by providing most of the boot code as C
5
#  code. This allows separate board definitions to be based on C
6
#  header files. The file is based on the VARIANT defined.
7
#
8
#  ods68302.cfg,v 1.20 2002/03/28 13:51:54 joel Exp
9
#
10
 
11
include $(RTEMS_ROOT)/make/custom/default.cfg
12
 
13
RTEMS_CPU=m68k
14
RTEMS_CPU_MODEL=m68302
15
 
16
# This is the actual bsp directory used during the build process.
17
RTEMS_BSP_FAMILY=ods68302
18
 
19
#
20
#  This contains the compiler options necessary to select the CPU model
21
#  and (hopefully) optimize for it.
22
#
23
# 68000+softfloat results in gcc 2.95.2 giving default libraries.
24
# CPU_CFLAGS = -m68302 -msoft-float
25
CPU_CFLAGS = -m68302
26
 
27
# optimize flag: typically -0, could use -O4 or -fast
28
# -O4 is ok for RTEMS
29
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
30
 
31
# debugging please
32
CFLAGS_DEBUG_V =
33
 
34
# The following are definitions of make-exe which will work using ld as
35
# is currently required.  It is expected that as of gcc 2.8, the end user
36
# will be able to override parts of the compilers specs and link using gcc.
37
 
38
define make-exe
39
        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
40
            -o $@ \
41
            $(LINK_OBJS) $(LINK_LIBS)
42
        $(NM) -g -n $@ > $(basename $@).num
43
        $(SIZE) $@
44
endef
45
 
46
# Miscellaneous additions go here
47
 
48
ifeq ($(RTEMS_DEBUGGER),yes)
49
LINKCMDS=$(PROJECT_RELEASE)/lib/debugrom
50
else
51
LINKCMDS=$(PROJECT_RELEASE)/lib/rom
52
endif
53
 

powered by: WebSVN 2.1.0

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