summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2015-04-01 16:11:48 +1100
committer Vas Crabb <vas@vastheman.com>2015-04-01 16:12:03 +1100
commit19d52cef70b0ef0c373ddb8c49cefd179d309f37 (patch)
tree08bcd31f5ca3705aaa0141c2ac728f06e09be84f /makefile
parent2bd0eb2b0d39b7980750dbad0df400bad394762e (diff)
Bring back NOASM
Diffstat (limited to 'makefile')
-rw-r--r--makefile19
1 files changed, 17 insertions, 2 deletions
diff --git a/makefile b/makefile
index a218974a994..c76b4e03514 100644
--- a/makefile
+++ b/makefile
@@ -132,6 +132,13 @@ endif
endif
+ifeq ($(findstring arm,$(UNAME)),arm)
+ifndef NOASM
+ NOASM := 1
+endif
+endif
+
+
PYTHON := $(SILENT)python
CC := $(SILENT)gcc
LD := $(SILENT)g++
@@ -266,11 +273,19 @@ PARAMS += --ARCHOPTS='$(ARCHOPTS)'
endif
ifdef MAP
-PARAMS += --MAP=$(MAP)
+PARAMS += --MAP='$(MAP)'
endif
ifdef USE_BGFX
-PARAMS += --USE_BGFX=$(USE_BGFX)
+PARAMS += --USE_BGFX='$(USE_BGFX)'
+endif
+
+ifdef NOASM
+PARAMS += --NOASM='$(NOASM)'
+endif
+
+ifdef FORCE_DRC_C_BACKEND
+PARAMS += --FORCE_DRC_C_BACKEND='$(FORCE_DRC_C_BACKEND)'
endif
ifdef NOWERROR