Browse Source

Merge pull request #3556 from thess/libopus-test

opus: Disable ASM for xscale and arm926ej-s
lilik-openwrt-22.03
Ted Hess 8 years ago
committed by GitHub
parent
commit
765ff16b5a
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      libs/opus/Makefile

+ 7
- 1
libs/opus/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=opus PKG_NAME:=opus
PKG_VERSION:=1.1.3 PKG_VERSION:=1.1.3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://downloads.xiph.org/releases/opus/ PKG_SOURCE_URL:=http://downloads.xiph.org/releases/opus/
@ -45,6 +45,12 @@ ifeq ($(CONFIG_SOFT_FLOAT),y)
--enable-fixed-point --enable-fixed-point
endif endif
CPU_ASM_BLACKLIST:=xscale arm926ej-s
ifneq ($(findstring $(call qstrip,$(CONFIG_CPU_TYPE)),$(CPU_ASM_BLACKLIST)),)
CONFIGURE_ARGS+= --disable-asm
endif
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/opus $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/opus $(1)/usr/include/


Loading…
Cancel
Save