mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
treewide: Update ARM NEON/VFP detection
With openwrt/openwrt@8dcc108760, the ARM FPU compiler options are no longer part of CONFIG_TARGET_OPTIMIZATION. This updates various packages that look for NEON/VFP support to search CONFIG_CPU_TYPE instead. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
+2
-2
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=opus
|
||||
PKG_VERSION:=1.3.1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://archive.mozilla.org/pub/opus
|
||||
@@ -47,7 +47,7 @@ ifeq ($(CONFIG_SOFT_FLOAT),y)
|
||||
--enable-fixed-point
|
||||
endif
|
||||
|
||||
ifneq ($(findstring neon,$(CONFIG_TARGET_OPTIMIZATION)),)
|
||||
ifneq ($(findstring neon,$(CONFIG_CPU_TYPE)),)
|
||||
CONFIGURE_ARGS+= \
|
||||
--enable-fixed-point
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user