[openwrt/openwrt] sunxi: move fpu feature flag into the subtargets

LEDE Commits lede-commits at lists.infradead.org
Fri Apr 19 09:44:21 PDT 2024


wigyori pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/01fc454a0cd0ab140ae54e0e5a4698763b11d211

commit 01fc454a0cd0ab140ae54e0e5a4698763b11d211
Author: Zoltan HERPAI <wigyori at uid0.hu>
AuthorDate: Sat Mar 23 18:35:58 2024 +0100

    sunxi: move fpu feature flag into the subtargets
    
    As the upcoming arm926ej-s does not have an FPU, move this flag
    into the subtargets.
    
    Signed-off-by: Zoltan HERPAI <wigyori at uid0.hu>
---
 target/linux/sunxi/Makefile            | 2 +-
 target/linux/sunxi/cortexa53/target.mk | 1 +
 target/linux/sunxi/cortexa7/target.mk  | 1 +
 target/linux/sunxi/cortexa8/target.mk  | 1 +
 4 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/target/linux/sunxi/Makefile b/target/linux/sunxi/Makefile
index 74caebd7b1..511c02772e 100644
--- a/target/linux/sunxi/Makefile
+++ b/target/linux/sunxi/Makefile
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=sunxi
 BOARDNAME:=Allwinner ARM SoCs
-FEATURES:=fpu usb ext4 display rootfs-part rtc squashfs
+FEATURES:=usb ext4 display rootfs-part rtc squashfs
 SUBTARGETS:=cortexa8 cortexa7 cortexa53
 
 KERNEL_PATCHVER:=6.1
diff --git a/target/linux/sunxi/cortexa53/target.mk b/target/linux/sunxi/cortexa53/target.mk
index 771e07d29f..02b31702ba 100644
--- a/target/linux/sunxi/cortexa53/target.mk
+++ b/target/linux/sunxi/cortexa53/target.mk
@@ -8,3 +8,4 @@ ARCH:=aarch64
 BOARDNAME:=Allwinner A64/H5/H6/H616
 CPU_TYPE:=cortex-a53
 KERNELNAME:=Image dtbs
+FEATURES+=fpu
\ No newline at end of file
diff --git a/target/linux/sunxi/cortexa7/target.mk b/target/linux/sunxi/cortexa7/target.mk
index 95315fd4a4..52a89e9105 100644
--- a/target/linux/sunxi/cortexa7/target.mk
+++ b/target/linux/sunxi/cortexa7/target.mk
@@ -7,3 +7,4 @@ include $(TOPDIR)/rules.mk
 BOARDNAME:=Allwinner A20/A3x/H3/R40
 CPU_TYPE:=cortex-a7
 CPU_SUBTYPE:=neon-vfpv4
+FEATURES+=fpu
diff --git a/target/linux/sunxi/cortexa8/target.mk b/target/linux/sunxi/cortexa8/target.mk
index cf30ca7877..7f34cc8ea5 100644
--- a/target/linux/sunxi/cortexa8/target.mk
+++ b/target/linux/sunxi/cortexa8/target.mk
@@ -7,3 +7,4 @@ include $(TOPDIR)/rules.mk
 BOARDNAME:=Allwinner A1x
 CPU_TYPE:=cortex-a8
 CPU_SUBTYPE:=vfpv3
+FEATURES+=fpu




More information about the lede-commits mailing list