Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From ebd2b0e414c98467156b961abb470b5d07f37ea8 Mon Sep 17 00:00:00 2001 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 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> |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 12 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 13 | --- |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 14 | usr/klibc/arch/arm/MCONFIG | 2 +- |
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 16 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 17 | --- 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 |