summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/klibc/files/0001-arm-Do-not-set-a-fallback-march-and-mtune.patch
blob: 5ac0d4596aeaf875027a198518a7937761b7eee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From ebd2b0e414c98467156b961abb470b5d07f37ea8 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Sep 2017 23:11:53 -0700
Subject: [PATCH] arm: Do not set a fallback march and mtune

In OE we pass the options explicitly, there is
no need to set it inside the makefiles, we will
need to compute values for CPU_ARCH and CPU_TUNE
which is a bit harder in OE

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
Upstream-Status: Pending

 usr/klibc/arch/arm/MCONFIG | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/usr/klibc/arch/arm/MCONFIG
+++ b/usr/klibc/arch/arm/MCONFIG
@@ -10,7 +10,7 @@
 CPU_ARCH ?= armv4
 CPU_TUNE ?= strongarm
 
-KLIBCOPTFLAGS += -Os -march=$(CPU_ARCH) -mtune=$(CPU_TUNE)
+KLIBCOPTFLAGS += -Os
 KLIBCBITSIZE  = 32
 KLIBCREQFLAGS += -fno-exceptions
 KLIBCSTRIPFLAGS += -R .ARM.exidx