summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-14 14:22:24 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-11-14 14:22:24 +0000
commit06f79fe8416966573b408f2607e6d3b02d230125 (patch)
tree766d0384737736ec197d444ec789967fcf4c07be
parentcb0c8da7c26ffbc361f70f4a343e4f82c0429669 (diff)
downloadmtk-20170518-06f79fe8416966573b408f2607e6d3b02d230125.zip
mtk-20170518-06f79fe8416966573b408f2607e6d3b02d230125.tar.gz
mtk-20170518-06f79fe8416966573b408f2607e6d3b02d230125.tar.bz2
ipq806x: enable vfpv4 support and set cpu type to cortex-a9
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47468
-rw-r--r--include/target.mk1
-rw-r--r--target/linux/ipq806x/Makefile3
2 files changed, 3 insertions, 1 deletions
diff --git a/include/target.mk b/include/target.mk
index 102b3a0..f129298 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -244,6 +244,7 @@ ifeq ($(DUMP),1)
CPU_CFLAGS_neon = -mfpu=neon
CPU_CFLAGS_vfp = -mfpu=vfp
CPU_CFLAGS_vfpv3 = -mfpu=vfpv3-d16
+ CPU_CFLAGS_neon-vfpv4 = -mfpu=neon-vfpv4
endif
endif
ifeq ($(ARCH),powerpc)
diff --git a/target/linux/ipq806x/Makefile b/target/linux/ipq806x/Makefile
index 45f83dd..97a40cf 100644
--- a/target/linux/ipq806x/Makefile
+++ b/target/linux/ipq806x/Makefile
@@ -6,7 +6,8 @@ ARCH:=arm
BOARD:=ipq806x
BOARDNAME:=Qualcomm Atheros IPQ806X
FEATURES:=squashfs nand ubifs
-CPU_TYPE:=cortex-a7
+CPU_TYPE:=cortex-a9
+CPU_SUBTYPE:=neon-vfpv4
MAINTAINER:=John Crispin <blogic@openwrt.org>
KERNEL_PATCHVER:=3.18