summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom')
-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)