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

4.104.114.84.95
Last change on this file since f1c22e0 was 20ec4a8, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/26/02 at 06:18:42

2002-10-26 Ralf Corsepius <corsepiu@…>

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