OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [make/] [custom/] [FreeBSD-posix.cfg] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
#
2
#  Config file for the FreeBSD 2.x based RTEMS UNIX
3
 
4
RTEMS_CPU=unix
5
RTEMS_CPU_FAMILY=i386
6
RTEMS_CPU_MODEL=i486dx
7
RTEMS_UNIX_FLAVOR=freebsd
8
 
9
# This is the actual bsp directory used during the build process.
10
RTEMS_BSP_FAMILY=posix
11
 
12
include $(RTEMS_ROOT)/make/custom/default.cfg
13
 
14
# RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER
15
LIBC_DEFINES =-D_POSIX_C_SOURCE
16
LIBC_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.
20
LIBC_DEFINES += -DWORKSPACE_MB=2
21
LIBC_DEFINES += -DHEAPSPACE_MB=1
22
 
23
# optimize flag: typically -0, could use -O4 or -fast
24
# -O4 is ok for RTEMS
25
CFLAGS_OPTIMIZE_V = -O2
26
 
27
define make-exe
28
        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
29
        $(NM) -ng $@ > $(basename $@).num
30
        $(SIZE) $@
31
endef
32
 
33
# *****************************************************************
34
# Miscellaneous additions go here

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.