source: rtems/make/custom/FreeBSD-posix.cfg @ c4069d4

4.104.114.84.95
Last change on this file since c4069d4 was c4069d4, checked in by Joel Sherrill <joel.sherrill@…>, on 01/04/02 at 18:08:57

2001-12-22 Ralf Corsepius <corsepiu@…>

  • custom/Cygwin-posix.cfg: Remove -DMALLOC_PROVIDED.
  • custom/FreeBSD-posix.cfg: Ditto.
  • custom/HPUX9-posix.cfg: Ditto.
  • custom/Linux-posix.cfg: Ditto.
  • custom/Solaris-posix.cfg: Ditto.
  • Property mode set to 100644
File size: 949 bytes
Line 
1#
2#  Config file for the FreeBSD 2.x based RTEMS UNIX
3
4RTEMS_CPU=unix
5RTEMS_CPU_FAMILY=i386
6RTEMS_CPU_MODEL=i486dx
7RTEMS_UNIX_FLAVOR=freebsd
8
9# This is the actual bsp directory used during the build process.
10RTEMS_BSP_FAMILY=posix
11
12include $(RTEMS_ROOT)/make/custom/default.cfg
13
14# RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER
15LIBC_DEFINES =-D_POSIX_C_SOURCE
16LIBC_DEFINES+=-DRTEMS_UNIXLIB -DRTEMS_UNIX
17
18# The following define the memory reserved in the executable for the
19# RTEMS Workspace and the C Program Heap.
20LIBC_DEFINES += -DWORKSPACE_MB=2
21LIBC_DEFINES += -DHEAPSPACE_MB=1
22
23# optimize flag: typically -0, could use -O4 or -fast
24# -O4 is ok for RTEMS
25CFLAGS_OPTIMIZE_V = -O2
26
27define make-exe
28        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
29        $(NM) -ng $@ > $(basename $@).num
30        $(SIZE) $@
31endef
32
33# *****************************************************************
34# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.