source: rtems/make/custom/HPUX9-posix.cfg @ 4d20133

4.104.114.84.95
Last change on this file since 4d20133 was 97e2729d, checked in by Joel Sherrill <joel.sherrill@…>, on 11/23/98 at 17:38:09

Added --disable-multiprocessing flag and modified a lot of files to make
it work.

  • Property mode set to 100644
File size: 2.1 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# This target does NOT support the TCP/IP stack so ignore requests
37# to enable it.
38HAS_NETWORKING=no
39
40# This target does NOT support the POSIX API.
41HAS_POSIX_API=no
42
43# optimize flag: typically -0, could use -O4 or -fast
44# -O4 is ok for RTEMS
45CFLAGS_OPTIMIZE_V = -O2
46
47#  This section makes the target dependent options file.
48
49#  NDEBUG (C library)
50#     if defined asserts do not generate code.  This is commonly used
51#     as a command line option.
52#
53#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
54#     do not pause between screens of output in the rtems tests
55#
56#  NO_TABLE_MOVE (SPARC PORT)
57#     do not have a second trap table -- use the BSP's
58#
59#  RTEMS_DEBUG (RTEMS)
60#     If defined, debug checks in RTEMS and support library code are enabled.
61#
62#  RTEMS_UNIX (unix)
63#     Define this to indicate this is an RTEMS UNIX port.
64
65define make-target-options
66        echo "/* #define NDEBUG 1 */ "                     >>$@
67        echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
68        echo "/* #define RTEMS_DEBUG  1 */"                >>$@
69        echo "#define RTEMS_UNIX 1 "                       >>$@
70endef
71
72define make-exe
73        $(CC) $(CFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
74        $(NM) -ng $@ > $(basename $@).num
75        $(SIZE) $@
76endef
77
78# Miscellaneous additions go here
79
Note: See TracBrowser for help on using the repository browser.