diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2020-06-04 20:39:24 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2020-06-17 01:07:23 +0300 |
commit | 0bdd6e7428a2e8971d7c9b8e212056dd0e0001c9 (patch) | |
tree | adee442762555c9ed478424427ca489a553f2507 /arch/arc/Kconfig | |
parent | 97d0b5d0b5a99871a983ca9b5c02bfde8bf73cbf (diff) | |
download | linux-0bdd6e7428a2e8971d7c9b8e212056dd0e0001c9.tar.xz |
ARC: build: allow users to specify -mcpu
kernel build system used to add -mcpu for each ARC ISA as default.
These days there are versions and varaints of ARC HS cores some of which
have specific -mcpu options to fine tune / optimize generated code.
So allow users/external build systems to specify their own -mcpu
This will be used in future patches for HSDK-4xD board support which
uses specific -mcpu to utilize dual issue scheduling of the core.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
[abrodkin/vgupta: rewrote changelog]
Diffstat (limited to 'arch/arc/Kconfig')
-rw-r--r-- | arch/arc/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index fddc70029727..323014149e48 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -170,6 +170,15 @@ config ARC_CPU_HS endchoice +config ARC_TUNE_MCPU + string "Override default -mcpu compiler flag" + default "" + help + Override default -mcpu=xxx compiler flag (which is set depending on + the ISA version) with the specified value. + NOTE: If specified flag isn't supported by current compiler the + ISA default value will be used as a fallback. + config CPU_BIG_ENDIAN bool "Enable Big Endian Mode" help |