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

4.104.114.84.95
Last change on this file since c801aba was b8a30d07, checked in by Joel Sherrill <joel.sherrill@…>, on 07/13/00 at 15:05:38

Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@…>
that is yet another multilib-related structual cleanup patch:

Changes:

  • Make RTEMS_TEST_NO_PAUSE a tests/ subpackage specific option.
    • Remove RTEMS_TEST_NO_PAUSE from custom/*.cfg, targopts.h and cpuopts.h.
    • Add autoconf macros RTEMS_*_RTEMS_TEST_NO_PAUSE (aclocal/rtems-test-no-pause.m4).
    • Add RTEMS_*_RTEMS_TEST_NO_PAUSE support to sptests/configure.ins and tmtests/configure.in. These are the only subdirectories which currently apply RTEMS_TEST_NO_PAUSE.
    • Add autoconf-DEFS support to all test subpackages' configure.ins below tests/. I.e. AC_DEFINES now get explicitly propagated as preprocessor defines into Makefiles, cf. AM_CPPFLAGS in tests/*/*.am, instead of using a global config-files.
    • Remove NDEBUG from custom/*.cfg.
  • AC_DEFINE POSIX_API, ITRON_API and MULTIPROCESSING in exec/configure.in, only.
    • All other sources now should relay on the values from cpuopts.h and should not define them themselves.
    • Several related changes to many configure.ins
  • Bug-fixes to RTEMS_*_RTEMS_DEBUG macros (Actually workarounds to quoting bugs in autoconf).

Notes:

  • This patch is rather immature and only tested for a small subset of BSPs (requires the tests to be enabled and therefore takes an tremendous amount of disc space and time.)
  • The patches to *cfg were generated by a script. Expect file formating changes :)
  • Property mode set to 100644
File size: 1.2 KB
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 -DMALLOC_PROVIDED
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
27#  This section makes the target dependent options file.
28
29#  RTEMS_UNIX (unix)
30#     Define this to indicate this is an RTEMS UNIX port.
31
32define make-target-options
33        echo "#define RTEMS_UNIX 1 "                       >>$@
34endef
35
36define make-exe
37        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
38        $(NM) -ng $@ > $(basename $@).num
39        $(SIZE) $@
40endef
41
42# *****************************************************************
43# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.