Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame^] | 1 | From a46a144ac883898d9cedf7a0b13aec6d10116125 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 29 Sep 2017 23:11:53 -0700 |
| 4 | Subject: [PATCH] arm: Do not set a fallback march and mtune |
| 5 | |
| 6 | In OE we pass the options explicitly, there is |
| 7 | no need to set it inside the makefiles, we will |
| 8 | need to compute values for CPU_ARCH and CPU_TUNE |
| 9 | which is a bit harder in OE |
| 10 | |
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 12 | --- |
| 13 | Upstream-Status: Pending |
| 14 | |
| 15 | usr/klibc/arch/arm/MCONFIG | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | |
| 18 | diff --git a/usr/klibc/arch/arm/MCONFIG b/usr/klibc/arch/arm/MCONFIG |
| 19 | index 53bc1dc3..857e2f2d 100644 |
| 20 | --- a/usr/klibc/arch/arm/MCONFIG |
| 21 | +++ b/usr/klibc/arch/arm/MCONFIG |
| 22 | @@ -10,7 +10,7 @@ |
| 23 | CPU_ARCH ?= armv4 |
| 24 | CPU_TUNE ?= strongarm |
| 25 | |
| 26 | -KLIBCOPTFLAGS += -Os -march=$(CPU_ARCH) -mtune=$(CPU_TUNE) |
| 27 | +KLIBCOPTFLAGS += -Os |
| 28 | KLIBCBITSIZE = 32 |
| 29 | KLIBCREQFLAGS += -fno-exceptions |
| 30 | KLIBCSTRIPFLAGS += -R .ARM.exidx |
| 31 | -- |
| 32 | 2.14.2 |
| 33 | |