summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-05-20 17:02:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-05-20 17:02:29 +0000
commit17a8d60365ce0684b0494886fc1c2a20a67d8ba6 (patch)
treeef897b29452d962d2a54ef12b7c4470206c8eae0 /make
parentCopied gcc 2.7.2 style make-exe rule to gcc 2.8 conditional. This (diff)
downloadrtems-17a8d60365ce0684b0494886fc1c2a20a67d8ba6.tar.bz2
Some patches in place from Brian Stevens which help the Solaris port
build. It does not link successfully for him. It does not compile for me locally.
Diffstat (limited to 'make')
-rw-r--r--make/custom/Solaris-posix.cfg17
1 files changed, 10 insertions, 7 deletions
diff --git a/make/custom/Solaris-posix.cfg b/make/custom/Solaris-posix.cfg
index e7698f122e..f3f0a6720b 100644
--- a/make/custom/Solaris-posix.cfg
+++ b/make/custom/Solaris-posix.cfg
@@ -13,21 +13,24 @@ RTEMS_UNIX_FLAVOR=solaris
RTEMS_BSP_FAMILY=posix
# share the posix bsp
-TARGET_ARCH=o-solaris2
RTEMS_BSP=posix
+TARGET_ARCH=o-solaris2
-include $(RTEMS_ROOT)/make/default.cfg
-
-## Target compiler config file, if any
-CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg
+include $(RTEMS_ROOT)/make/custom/default.cfg
-# Use the LIBC support for CYGNUS newlib
-# RTEMS_LIBC_DIR must already be set (by module file)
+# DO NOT Use the LIBC support for CYGNUS newlib
RTEMS_USE_NEWLIB=no
+# The following define the memory reserved in the executable for the
+# RTEMS Workspace and the C Program Heap.
+LIBC_DEFINES += -DWORKSPACE_MB=2
+LIBC_DEFINES += -DHEAPSPACE_MB=1
+
LIBC_DEFINES=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG
LIBC_LIBM=-lm
+CPU_CFLAGS = -D__EXTENSIONS__ -Dsolaris -Dsolaris2
+
# Define this to yes if C++ is included in the development environment
# This requires that at least the GNU C++ compiler and libg++ be installed.
ifeq ($(RTEMS_HAS_CPLUSPLUS),yes)