From 7c440a379d9817dbd2ede35fc97713cf52432383 Mon Sep 17 00:00:00 2001 From: 0ctobot Date: Thu, 30 May 2019 04:11:03 -0400 Subject: [PATCH] Makefile: Optimize for Kryo 385 Signed-off-by: Adam W. Willis --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 19d37db7166c..6ab50e88fbe7 100644 --- a/Makefile +++ b/Makefile @@ -726,8 +726,10 @@ KBUILD_CFLAGS += -O2 $(call cc-disable-warning,maybe-uninitialized,) else ifeq ($(cc-name),clang) KBUILD_CFLAGS += -O3 +KBUILD_CFLAGS += -mcpu=cortex-a55 -mtune=cortex-a55 else KBUILD_CFLAGS += -O2 +KBUILD_CFLAGS += -mcpu=cortex-a75.cortex-a55 -mtune=cortex-a75.cortex-a55 endif endif endif