source: rtems/make/custom/HPUX9-posix.cfg @ 09213ec3

4.104.114.84.95
Last change on this file since 09213ec3 was 09213ec3, checked in by Joel Sherrill <joel.sherrill@…>, on 10/05/98 at 13:53:16

Patch from Ralf Corsepius <corsepiu@…>:

As mentioned in other mails before, there is are minor inconsistencies in the
posix custom/*cfg files.

Linux-posix.cfg sets RTEMS_BSP=posix
FreeBSD-posix.cfg sets RTEMS_BSP=posix
Solaris-posix.cfg first sets RTEMS_BSP=posix, later it sets

RTEMS_BSP=solaris2

  1. Setting RTEMS_BSP=posix is redunant to settings in default.cfg
  2. The solaris variant of setting RTEMS_BSP is merely non-functional.

The patch attached to this mail should clean up this issue.

The patch was tested by building the posix bsp under
i686-pc-linux-glibc1/glibc2 and Solaris2.6 (I did not run any
rtems program, however) The HPUX9 and FreeBSD configuration files
were adapted in analogy to the solaris and linux configurations.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1#
2#  Config file for HPUX running the posix bsp
3#
4#  $Id$
5#
6
7# Specify here the host and target "architectures"
8HOST_ARCH=o-$(RTEMS_HOST)
9TARGET_ARCH=o-$(RTEMS_BSP)
10
11RTEMS_CPU=unix
12RTEMS_CPU_FAMILY=hppa1_1
13RTEMS_CPU_MODEL=hppa7200
14RTEMS_UNIX_FLAVOR=hpux
15
16# This is the actual bsp directory used during the build process.
17RTEMS_BSP_FAMILY=posix
18TARGET_ARCH=o-hpux9
19
20include $(RTEMS_ROOT)/make/custom/default.cfg
21
22# use the macros instead of the inline functions
23# The macros work better when mixed with other compilers.
24INLINE=macros
25INLINE_UPCASE=MACRO
26
27# RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER
28LIBC_DEFINES=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG
29
30# The following define the memory reserved in the executable for the
31# RTEMS Workspace and the C Program Heap.
32# NOTE: some of the timing tests need > 1M workspace
33LIBC_DEFINES += -DWORKSPACE_MB=2
34LIBC_DEFINES += -DHEAPSPACE_MB=1
35
36# Define this to yes if this target supports multiprocessor environments.
37HAS_MP=yes
38
39# This target does NOT support the TCP/IP stack so ignore requests
40# to enable it.
41HAS_NETWORKING=no
42
43# This target does NOT support the POSIX API.
44HAS_POSIX_API=no
45
46# optimize flag: typically -0, could use -O4 or -fast
47# -O4 is ok for RTEMS
48CFLAGS_OPTIMIZE_V = -O2
49
50#  This section makes the target dependent options file.
51
52#  NDEBUG (C library)
53#     if defined asserts do not generate code.  This is commonly used
54#     as a command line option.
55#
56#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
57#     do not pause between screens of output in the rtems tests
58#
59#  NO_TABLE_MOVE (SPARC PORT)
60#     do not have a second trap table -- use the BSP's
61#
62#  RTEMS_DEBUG (RTEMS)
63#     If defined, debug checks in RTEMS and support library code are enabled.
64#
65#  RTEMS_UNIX (unix)
66#     Define this to indicate this is an RTEMS UNIX port.
67
68define make-target-options
69        echo "/* #define NDEBUG 1 */ "                     >>$@
70        echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
71        echo "/* #define RTEMS_DEBUG  1 */"                >>$@
72        echo "#define RTEMS_UNIX 1 "                       >>$@
73endef
74
75define make-exe
76        $(CC) $(CFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
77        $(NM) -ng $@ > $(basename $@).num
78        $(SIZE) $@
79endef
80
81# Miscellaneous additions go here
82
Note: See TracBrowser for help on using the repository browser.