blob: ea14c49f0d57b1f922061bb804bde1efb57e6922 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From ebd2b0e414c98467156b961abb470b5d07f37ea8 Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 Sep 2017 23:11:53 -0700
4Subject: [PATCH] arm: Do not set a fallback march and mtune
5
6In OE we pass the options explicitly, there is
7no need to set it inside the makefiles, we will
8need to compute values for CPU_ARCH and CPU_TUNE
9which is a bit harder in OE
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
Brad Bishopd7bf8c12018-02-25 22:55:05 -050012
Brad Bishop316dfdd2018-06-25 12:45:53 -040013---
Brad Bishopd7bf8c12018-02-25 22:55:05 -050014 usr/klibc/arch/arm/MCONFIG | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
Brad Bishopd7bf8c12018-02-25 22:55:05 -050017--- a/usr/klibc/arch/arm/MCONFIG
18+++ b/usr/klibc/arch/arm/MCONFIG
19@@ -10,7 +10,7 @@
20 CPU_ARCH ?= armv4
21 CPU_TUNE ?= strongarm
22
23-KLIBCOPTFLAGS += -Os -march=$(CPU_ARCH) -mtune=$(CPU_TUNE)
24+KLIBCOPTFLAGS += -Os
25 KLIBCBITSIZE = 32
26 KLIBCREQFLAGS += -fno-exceptions
27 KLIBCSTRIPFLAGS += -R .ARM.exidx