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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [make/] [custom/] [Solaris-posix.cfg] - Blame information for rev 593

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

Line No. Rev Author Line
1 30 unneback
#
2
#  Config file for the Solaris based RTEMS UNIX
3
#
4
#  $Id: Solaris-posix.cfg,v 1.2 2001-09-27 12:02:52 chris Exp $
5
#
6
 
7
RTEMS_CPU=unix
8
RTEMS_CPU_FAMILY=sparc
9
RTEMS_CPU_MODEL=sparc_v8
10
RTEMS_UNIX_FLAVOR=solaris
11
 
12
# This is the actual bsp directory used during the build process.
13
RTEMS_BSP_FAMILY=posix
14
 
15
include $(RTEMS_ROOT)/make/custom/default.cfg
16
 
17
# The following define the memory reserved in the executable for the
18
# RTEMS Workspace and the C Program Heap.
19
LIBC_DEFINES += -DWORKSPACE_MB=2
20
LIBC_DEFINES += -DHEAPSPACE_MB=1
21
LIBC_DEFINES +=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG
22
 
23
DEFINES += -D__EXTENSIONS__ -Dsolaris2
24
 
25
# optimize flag: typically -0, could use -O4 or -fast
26
# -O4 is ok for RTEMS
27
CFLAGS_OPTIMIZE_V = -O2
28
 
29
#  This section makes the target dependent options file.
30
 
31
#  NDEBUG (C library)
32
#     if defined asserts do not generate code.  This is commonly used
33
#     as a command line option.
34
#
35
#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
36
#     do not pause between screens of output in the rtems tests
37
#
38
#  NO_TABLE_MOVE (SPARC PORT)
39
#     do not have a second trap table -- use the BSP's
40
#
41
#  RTEMS_DEBUG (RTEMS)
42
#     If defined, debug checks in RTEMS and support library code are enabled.
43
#
44
#  RTEMS_UNIX (unix)
45
#     Define this to indicate this is an RTEMS UNIX port.
46
 
47
define make-target-options
48
        echo "/* #define NDEBUG 1 */ "                     >>$@
49
        echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
50
        echo "/* #define RTEMS_DEBUG  1 */"                >>$@
51
        echo "#define RTEMS_UNIX 1 "                       >>$@
52
endef
53
 
54
define make-exe
55
        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
56
        $(NM) -ng $@ > $(basename $@).num
57
        $(SIZE) $@
58
endef
59
 
60
# *****************************************************************
61
 
62
 
63
# Miscellaneous additions go here

powered by: WebSVN 2.1.0

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