summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-02-01 15:44:04 +0000
committeroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-02-01 15:44:04 +0000
commit6ec83810fdcb4d361d5a5702fe7e72b5006c3019 (patch)
treeb3b269e663c1ebb5abfb15313d6891483b441e6c /include
parent03655fd319d3cc2639b262cb2201b6001951d9e9 (diff)
downloadATCD-6ec83810fdcb4d361d5a5702fe7e72b5006c3019.tar.gz
ChangeLogTag: Thu Feb 1 09:42:41 2001 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_chorus4.x_g++.GNU13
1 files changed, 10 insertions, 3 deletions
diff --git a/include/makeinclude/platform_chorus4.x_g++.GNU b/include/makeinclude/platform_chorus4.x_g++.GNU
index 4f1f1114423..81eb6949263 100644
--- a/include/makeinclude/platform_chorus4.x_g++.GNU
+++ b/include/makeinclude/platform_chorus4.x_g++.GNU
@@ -24,9 +24,13 @@
CHORUS = 1
CROSS-COMPILE = 1
-debug = 1
+ifeq (,$(debug))
+ debug = 1
+endif
exceptions = 0
-optimize = 1
+ifeq (,$(optimize))
+ optimize = 1
+endif
static_libs_only = 1
#
@@ -44,6 +48,9 @@ endif
ifndef CPU
CPU=powerpc
endif
+ifndef CLX_TYPE
+ CLX_TYPE=$(CPU)-elf
+endif
ifndef CLX_CDSVERSION
CLX_CDSVERSION = 5.00
endif
@@ -55,7 +62,7 @@ ifndef OS_DIR
endif
XROOT = $(CHTOOLS_DIR)/$(CPU)/$(CLX_CDSHOST)/$(CLX_CDSVERSION)
-XDIR = $(XROOT)/$(CPU)-elf
+XDIR = $(XROOT)/$(CLX_TYPE)
TOOLDIR = $(XDIR)/bin