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

4.104.114.84.95
Last change on this file since c9dcf77c was c9dcf77c, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 15, 2002 at 2:28:55 PM

2002-11-15 Ralf Corsepius <corsepiu@…>

  • custom/Cygwin-posix.cfg: Remove -DRTEMS_UNIXLIB -DRTEMS_UNIX.
  • custom/Linux-posix.cfg: Remove -DRTEMS_UNIXLIB -DRTEMS_UNIX.
  • custom/Solaris-posix.cfg: Remove -DRTEMS_UNIXLIB -DRTEMS_UNIX.
  • custom/FreeBSD-posix.cfg: Remove -DRTEMS_UNIXLIB -DRTEMS_UNIX.
  • custom/HPUX9-posix.cfg: Remove -DRTEMS_UNIXLIB -DRTEMS_UNIX.
  • Property mode set to 100644
File size: 868 bytes
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
14
15include $(RTEMS_ROOT)/make/custom/default.cfg
16
17LIBC_DEFINES =-D_POSIX_C_SOURCE
18
19# The following define the memory reserved in the executable for the
20# RTEMS Workspace and the C Program Heap.
21LIBC_DEFINES += -DWORKSPACE_MB=2
22LIBC_DEFINES += -DHEAPSPACE_MB=1
23
24DEFINES += -D_BSD_SOURCE
25
26# optimize flag: typically -0, could use -O4 or -fast
27# -O4 is ok for RTEMS
28CFLAGS_OPTIMIZE_V = -O2
29
30define make-exe
31        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
32        $(NM) -ng $@ > $(basename $@).num
33        $(SIZE) $@
34endef
35
36# *****************************************************************
37# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.