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

Subversion Repositories openrisc

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

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

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

powered by: WebSVN 2.1.0

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