Support ARC architecture with kbuild
Change-Id: Ic0b884e3760d5957986208ea7b19653c06eda072 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
5118d2fa6a
commit
f45e4aa9a1
1 changed files with 6 additions and 0 deletions
6
scripts/Makefile.arc.preparch
Normal file
6
scripts/Makefile.arc.preparch
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue