summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_integrity_ghs.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/platform_integrity_ghs.GNU')
-rw-r--r--include/makeinclude/platform_integrity_ghs.GNU83
1 files changed, 0 insertions, 83 deletions
diff --git a/include/makeinclude/platform_integrity_ghs.GNU b/include/makeinclude/platform_integrity_ghs.GNU
deleted file mode 100644
index ffd50a45410..00000000000
--- a/include/makeinclude/platform_integrity_ghs.GNU
+++ /dev/null
@@ -1,83 +0,0 @@
-# $Id$
-CROSS-COMPILE = 1
-
-ifndef debug
- debug = 1
-endif
-ifndef optimize
- optimize = 1
-endif
-ifndef rtti
- rtti = 0
-endif # rtti
-shared_libs =
-static_libs = 1
-ifndef exceptions
- exceptions = 1
-endif
-
-#### CPU type
-ifndef CPU
- CPU = ppc
-endif # CPU
-
-INTEGRITYTARGET = 1
-
-#### Green Hills location, and target-specific definitions.
-ifndef GHSROOT
- GHSROOT = /home/scooter2/i40_solaris2
-endif
-
-ifndef RTOSROOT
- RTOSROOT = /export/integrity/rtos
-endif
-
-ifndef BSP
- BSP = mcp750
-endif
-
-ifndef TARGET_BSP
- TARGET_BSP = $(ACE_ROOT)/tests/ACE.bsp
-endif
-
-ifndef TARGET_LD
- TARGET_LD = $(ACE_ROOT)/tests/INTEGRITY.ld
-endif
-
-#### Set Integrity version
-verline := $(shell ($(GHSROOT)/gversion 2>&1|grep "Green Hills Software"))
-ifeq "$(verline)" ""
- $(error Not Green Hills or the environment is not set-up)
-endif
-INTEGRITY_VERSION_STR := $(strip $(if ifeq $(word 4, $(verline)) "INTEGRITY", $(word 5, $(verline))))
-ifeq "$(INTEGRITY_VERSION_STR)" ""
- $(error This Green Hills setup is not for Integrity)
-endif
-ifeq "$(INTEGRITY_VERSION_STR)" "4.1.8"
- CCFLAGS += -DINTEGRITY_VERSION=40108
-endif
-
-CC = $(GHSROOT)/cc$(CPU)
-CXX = $(GHSROOT)/cx$(CPU)
-
-# undefine "vector" because it's predefined for 7400 boards
-IOPS = -bspname=$(RTOSROOT)/target/$(BSP).bld -os_dir $(RTOSROOT) --one_instantiation_per_object -non_shared -Uvector
-ifeq (1, $(exceptions))
- IOPS += --exceptions
- override rtti = 1
-endif # exceptions
-
-CCFLAGS += $(CFLAGS) -integrate -dynamic -I$(RTOSROOT)/INTEGRITY-include-SCA $(IOPS) -bspfile=$(TARGET_BSP) $(TARGET_LD)
-DCFLAGS += -G
-SOFLAGS += -shared
-DLD = $(CXX)
-LD = $(CXX)
-LIBS += -lshm_client -lnet -livfssca -lposixsca -lsocket
-PIC =
-AR := $(CXX) -archive $(IOPS)
-ARFLAGS = -o
-
-
-ifeq (0, $(rtti))
- CCFLAGS += --no_rtti
-endif # rtti