source: rtems/make/custom/Linux-posix.cfg @ 97e2729d

4.104.114.84.95
Last change on this file since 97e2729d was 97e2729d, checked in by Joel Sherrill <joel.sherrill@…>, on 11/23/98 at 17:38:09

Added --disable-multiprocessing flag and modified a lot of files to make
it work.

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