summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2017-01-03 10:12:49 -0800
committerAnas Nashif <anas.nashif@intel.com>2017-01-19 08:43:27 -0500
commit0e9c0ecf40d057cdc06e7d8630d3422025717187 (patch)
tree2d07cd4ed08a361a5e96448c9ead502ddf7b127b
parentb74d1e8a248f1baeec992366b475e145840cff2a (diff)
Makefile (arc/soc/quark_se): New compiler optionsv1.6.0-branch
GCC 6.x for ARC does not recognize the options -mARCv2EM and -mav2em anymore. Both options replaced in Makefile by -mcpu=quarkse_em. Change-Id: I9dec26dd64b4738976704a39455fe4241406db9e Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
-rw-r--r--arch/arc/soc/quark_se_c1000_ss/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arc/soc/quark_se_c1000_ss/Makefile b/arch/arc/soc/quark_se_c1000_ss/Makefile
index 485ffda9d..09a05bc30 100644
--- a/arch/arc/soc/quark_se_c1000_ss/Makefile
+++ b/arch/arc/soc/quark_se_c1000_ss/Makefile
@@ -1,5 +1,6 @@
-soc-cflags = $(call cc-option,-mARCv2EM) \
- $(call cc-option,-mav2em,) $(call cc-option,-mno-sdata)
+soc-cflags = $(call cc-option,-mcpu=quarkse_em) \
+ $(call cc-option,-mno-sdata)
+
soc-aflags = $(soc-cflags)
soc-cxxflags = $(soc-cflags)
soc-cflags += -DQM_SENSOR=1