Support ARC architecture with kbuild

Change-Id: Ic0b884e3760d5957986208ea7b19653c06eda072
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-05-24 23:46:51 -04:00
commit f45e4aa9a1

View file

@ -0,0 +1,6 @@
LTO_FLAG-y = $(call cc-option,-flto,)
SECTION_GC_FLAG = $(call cc-option,-ffunction-sections,) $(call cc-option,-fdata-sections,)
arc_FLAGS += -mARCv2EM -mav2em -mno-sdata
export ISA_FLAG_arc