mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
23 lines
956 B
Diff
23 lines
956 B
Diff
From b35817c3d0d629b0faa549837eec2a3fdd9d1c00 Mon Sep 17 00:00:00 2001
|
|
From: franciscofranco <franciscofranco.1990@gmail.com>
|
|
Date: Fri, 27 Feb 2015 15:59:50 +0000
|
|
Subject: [PATCH] arm: use -mtune=cortex-a15 for Krait targets
|
|
|
|
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
|
|
---
|
|
arch/arm/Makefile | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
|
|
index 066853f..ffb2719 100644
|
|
--- a/arch/arm/Makefile
|
|
+++ b/arch/arm/Makefile
|
|
@@ -103,6 +103,7 @@ tune-$(CONFIG_CPU_XSC3) :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) -
|
|
tune-$(CONFIG_CPU_FEROCEON) :=$(call cc-option,-mtune=marvell-f,-mtune=xscale)
|
|
tune-$(CONFIG_CPU_V6) :=$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm)
|
|
tune-$(CONFIG_CPU_V6K) :=$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm)
|
|
+tune-$(CONFIG_ARCH_MSM_KRAIT) :=-mtune=cortex-a15
|
|
|
|
ifeq ($(CONFIG_AEABI),y)
|
|
CFLAGS_ABI :=-mabi=aapcs-linux -mno-thumb-interwork
|