summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/klibc/files/0001-arm-Do-not-set-a-fallback-march-and-mtune.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc/files/0001-arm-Do-not-set-a-fallback-march-and-mtune.patch')
-rw-r--r--meta-initramfs/recipes-devtools/klibc/files/0001-arm-Do-not-set-a-fallback-march-and-mtune.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/files/0001-arm-Do-not-set-a-fallback-march-and-mtune.patch b/meta-initramfs/recipes-devtools/klibc/files/0001-arm-Do-not-set-a-fallback-march-and-mtune.patch
new file mode 100644
index 000000000..fcf4f891a
--- /dev/null
+++ b/meta-initramfs/recipes-devtools/klibc/files/0001-arm-Do-not-set-a-fallback-march-and-mtune.patch
@@ -0,0 +1,29 @@
1From ebd2b0e414c98467156b961abb470b5d07f37ea8 Mon Sep 17 00:00:00 2001
2From: 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>
12
13---
14 usr/klibc/arch/arm/MCONFIG | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/usr/klibc/arch/arm/MCONFIG b/usr/klibc/arch/arm/MCONFIG
18index 303c6ac..48d2685 100644
19--- a/usr/klibc/arch/arm/MCONFIG
20+++ b/usr/klibc/arch/arm/MCONFIG
21@@ -10,7 +10,7 @@
22 CPU_ARCH ?= armv4
23 CPU_TUNE ?= strongarm
24
25-KLIBCOPTFLAGS += -Os -march=$(CPU_ARCH) -mtune=$(CPU_TUNE)
26+KLIBCOPTFLAGS += -Os
27 KLIBCBITSIZE = 32
28 KLIBCREQFLAGS += -fno-exceptions
29 KLIBCSTRIPFLAGS += -R .ARM.exidx