source: rtems/make/custom/Solaris-posix.cfg @ 54d3d1e

4.104.114.84.95
Last change on this file since 54d3d1e was 54d3d1e, checked in by Joel Sherrill <joel.sherrill@…>, on 03/08/99 at 21:41:09

Added $(CPPFLAGS) to all gcc 2.8 style make-exe rules.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1#
2#  Config file for the Solaris based RTEMS UNIX
3#
4#  $Id$
5#
6
7RTEMS_CPU=unix
8RTEMS_CPU_FAMILY=sparc
9RTEMS_CPU_MODEL=sparc_v8
10RTEMS_UNIX_FLAVOR=solaris
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=posix
14TARGET_ARCH=o-solaris2
15
16include $(RTEMS_ROOT)/make/custom/default.cfg
17
18# DO NOT Use the LIBC support for CYGNUS newlib
19RTEMS_USE_NEWLIB=no
20
21# The following define the memory reserved in the executable for the
22# RTEMS Workspace and the C Program Heap.
23LIBC_DEFINES += -DWORKSPACE_MB=2
24LIBC_DEFINES += -DHEAPSPACE_MB=1
25LIBC_DEFINES +=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG
26
27DEFINES += -D__EXTENSIONS__ -Dsolaris2
28
29# Define this to yes if C++ is included in the development environment
30# This requires that at least the GNU C++ compiler and libg++ be installed.
31ifeq ($(RTEMS_HAS_CPLUSPLUS),yes)
32HAS_CPLUSPLUS=yes
33CPLUS_LD_LIBS=$(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)
34endif
35
36# This target does NOT support the TCP/IP stack so ignore requests
37# to enable it.
38HAS_NETWORKING=no
39
40# This target does NOT support the POSIX API.
41HAS_POSIX_API=no
42
43# optimize flag: typically -0, could use -O4 or -fast
44# -O4 is ok for RTEMS
45CFLAGS_OPTIMIZE_V = -O2
46
47#  This section makes the target dependent options file.
48
49#  NDEBUG (C library)
50#     if defined asserts do not generate code.  This is commonly used
51#     as a command line option.
52#
53#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
54#     do not pause between screens of output in the rtems tests
55#
56#  NO_TABLE_MOVE (SPARC PORT)
57#     do not have a second trap table -- use the BSP's
58#
59#  RTEMS_DEBUG (RTEMS)
60#     If defined, debug checks in RTEMS and support library code are enabled.
61#
62#  RTEMS_UNIX (unix)
63#     Define this to indicate this is an RTEMS UNIX port.
64
65define make-target-options
66        echo "/* #define NDEBUG 1 */ "                     >>$@
67        echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
68        echo "/* #define RTEMS_DEBUG  1 */"                >>$@
69        echo "#define RTEMS_UNIX 1 "                       >>$@
70endef
71
72define make-exe
73        $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
74        $(NM) -ng $@ > $(basename $@).num
75        $(SIZE) $@
76endef
77
78# *****************************************************************
79
80
81# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.