浏览代码

vo-aacenc: use the BR2_ARM_CPU_ARM* options

The vo-aacenc package has an option to enable ARMv5 optimizations. It
was enabled based on per ARM core options, but now that we have per
ARM architecture options, this commit switches to using them.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni 10 年之前
父节点
当前提交
352bb92695
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/vo-aacenc/vo-aacenc.mk

+ 1 - 1
package/vo-aacenc/vo-aacenc.mk

@@ -26,7 +26,7 @@ VO_AACENC_CFLAGS += -mfpu=neon
 else
 else
 VO_AACENC_CONF_OPTS += --disable-armv7neon
 VO_AACENC_CONF_OPTS += --disable-armv7neon
 
 
-ifeq ($(BR2_arm920t)$(BR2_arm922t)$(BR2_strongarm)$(BR2_fa526),)
+ifeq ($(BR2_ARM_CPU_ARMV4),)
 VO_AACENC_CONF_OPTS += --enable-armv5e
 VO_AACENC_CONF_OPTS += --enable-armv5e
 else
 else
 VO_AACENC_CONF_OPTS += --disable-armv5e
 VO_AACENC_CONF_OPTS += --disable-armv5e