source: rtems/make/custom/HPUX9-posix.cfg @ 0e70f605

4.104.114.84.95
Last change on this file since 0e70f605 was 0e70f605, checked in by Joel Sherrill <joel.sherrill@…>, on 04/27/98 at 14:21:55

Fixes from Ralf Corsepius:

  • Posix BSP configuration: Moved some rules from make/custom/*-posix.cfg files to make/custom/posix.cfg, Removed references to stdc++ from *posix.cfg files (rtems doesn't use/need libstdc++)

NOTE: Building Posix-BSPs should now work again for native compilation with
gcc, i..e. linux using primary compiler and primary libc.
All Posix-BSP configurations that don't use gcc as primary compiler or
don't use the primary libc don't work, e.g. solaris, linux w/ egcs as
secondary compiler won't be built correctly.

  • Property mode set to 100644
File size: 2.5 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
19include $(RTEMS_ROOT)/make/custom/default.cfg
20
21# use the macros instead of the inline functions
22# The macros work better when mixed with other compilers.
23INLINE=macros
24INLINE_UPCASE=MACRO
25
26## Target compiler config file, if any
27CC_$(TARGET_ARCH)_DIR=$(CC_$(HOST_ARCH)_DIR)
28CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg
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 KA9Q TCP/IP stack so ignore requests
43# to enable it.
44HAS_KA9Q=no
45
46# This target does NOT support the POSIX API.
47HAS_POSIX_API=no
48
49HAS_POSIX_API=no
50
51# optimize flag: typically -0, could use -O4 or -fast
52# -O4 is ok for RTEMS
53CFLAGS_OPTIMIZE_V = -O2
54
55#  This section makes the target dependent options file.
56
57#  NDEBUG (C library)
58#     if defined asserts do not generate code.  This is commonly used
59#     as a command line option.
60#
61#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
62#     do not pause between screens of output in the rtems tests
63#
64#  NO_TABLE_MOVE (SPARC PORT)
65#     do not have a second trap table -- use the BSP's
66#
67#  RTEMS_DEBUG (RTEMS)
68#     If defined, debug checks in RTEMS and support library code are enabled.
69#
70#  RTEMS_UNIX (unix)
71#     Define this to indicate this is an RTEMS UNIX port.
72
73define make-target-options
74        echo "/* #define NDEBUG 1 */ "                     >>$@
75        echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
76        echo "/* #define RTEMS_DEBUG  1 */"                >>$@
77        echo "#define RTEMS_UNIX 1 "                       >>$@
78endef
79
80ifeq ($(RTEMS_USE_GCC272),yes)
81define make-exe
82        $(CC) -o $@ $(LINK_FILES) $(LD_LIBS) $(LIBC_LIBM) $(LIBC_LIBC)
83        $(NM) -ng $@ > $(basename $@).num
84        $(SIZE) $@
85endef
86else
87#
88# gcc28 not yet supported
89#
90endif
91
92# Miscellaneous additions go here
93
94# Workaround for missing ranlib support in RTEMS
95MKLIB=$(AR) s $(@) ; echo library is complete:
96
Note: See TracBrowser for help on using the repository browser.