Makefile: optimize for Cortex A55 (little cores)
Though we do have Cortex A78 for big cores, we can only optimize one set with Clang. Signed-off-by: Nahuel Gómez <nahuelgomez329@gmail.com>
This commit is contained in:
parent
826acfacd4
commit
64f1f95a8a
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -839,6 +839,9 @@ ifdef CONFIG_CC_IS_CLANG
|
|||
KBUILD_CPPFLAGS += -Qunused-arguments
|
||||
KBUILD_CFLAGS += -Wno-format-invalid-specifier
|
||||
KBUILD_CFLAGS += -Wno-gnu
|
||||
ifeq ($(CONFIG_ARCH_EXYNOS), y)
|
||||
KBUILD_CFLAGS += -mcpu=cortex-a55 -mtune=cortex-a55
|
||||
endif
|
||||
# CLANG uses a _MergedGlobals as optimization, but this breaks modpost, as the
|
||||
# source of a reference will be _MergedGlobals and not on of the whitelisted names.
|
||||
# See modpost pattern 2
|
||||
|
|
Loading…
Reference in a new issue