forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
## Target compiler config file, if any
|
||||
CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-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)
|
||||
|
||||
Reference in New Issue
Block a user