source: rtems/make/custom/HPUX9-posix.cfg @ 28e7d7fa

4.104.114.84.95
Last change on this file since 28e7d7fa was 28e7d7fa, checked in by Joel Sherrill <joel.sherrill@…>, on 08/20/98 at 22:04:22

Patches from Eric Norum

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