Skip to content
Snippets Groups Projects
Commit 51f4999b authored by Alexey Brodkin's avatar Alexey Brodkin
Browse files

arc: move CPU flags selection to the main "config.mk"


As a preparation to ARCv2 port submission we're moving CPU slection
flags to a common location.
Also it will allow us to have more flexible CPU specification, not only
ISA version but CPU family as well checking CONFIG_ARC_CPU_xxx.

Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
parent 836d2cc2
No related branches found
No related tags found
No related merge requests found
...@@ -27,8 +27,12 @@ ifdef CONFIG_ARC_MMU_VER ...@@ -27,8 +27,12 @@ ifdef CONFIG_ARC_MMU_VER
CONFIG_MMU = 1 CONFIG_MMU = 1
endif endif
ifdef CONFIG_CPU_ARC750D
PLATFORM_CPPFLAGS += -marc700
endif
ifdef CONFIG_CPU_ARC770D ifdef CONFIG_CPU_ARC770D
PLATFORM_CPPFLAGS += -mlock -mswape PLATFORM_CPPFLAGS += -marc700 -mlock -mswape
endif endif
PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2 PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2
......
#
# Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
#
# SPDX-License-Identifier: GPL-2.0+
#
PLATFORM_CPPFLAGS += -mA7
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment