[openwrt/openwrt] mediatek: activate fpu feature flag

LEDE Commits lede-commits at lists.infradead.org
Sun Feb 11 07:47:12 PST 2018


blogic pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/3594447a7d0398c55ea78f658b52b7d8084ae9f9

commit 3594447a7d0398c55ea78f658b52b7d8084ae9f9
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Feb 10 00:52:20 2018 +0100

    mediatek: activate fpu feature flag
    
    The arm CPUs uses in the supported Mediatket SoCs have a FPU accordingly
    to the datasheet, activate it also. The CPU subtype "neon-vfpv4" is
    selected, but the toolcahin generated for this SoC will still be
    compiled with soft float and not with the hard float ABI as we haven't
    the fpu feature flag set. If this toolchain is reused by other targets
    this will even affect other targets.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/mediatek/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mediatek/Makefile b/target/linux/mediatek/Makefile
index 4ebac09..6824111 100644
--- a/target/linux/mediatek/Makefile
+++ b/target/linux/mediatek/Makefile
@@ -6,7 +6,7 @@ ARCH:=arm
 BOARD:=mediatek
 BOARDNAME:=MediaTek Ralink ARM
 SUBTARGETS:=32
-FEATURES:=squashfs nand ubifs
+FEATURES:=squashfs nand ubifs fpu
 MAINTAINER:=John Crispin <john at phrozen.org>
 
 KERNEL_PATCHVER:=4.9



More information about the lede-commits mailing list