package: use BR2_ARM_CPU_HAS_NEON
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 13 Dec 2012 22:25:30 +0000 (23:25 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 13 Dec 2012 22:25:53 +0000 (23:25 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/efl/libevas/libevas.mk
package/multimedia/ffmpeg/ffmpeg.mk
package/multimedia/mplayer/mplayer.mk

index 2e9e930c9d032d9f80abd39216ec58470e887445..1f053e37cbffa6685c75cf84675fa555b37f1c37 100644 (file)
@@ -142,8 +142,7 @@ else
 LIBEVAS_CONF_OPT += --disable-cpu-altivec
 endif
 
-ifeq ($(BR2_cortex_a8)$(BR2_cortex_a9),y)
-# NEON is optional for A9
+ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
 LIBEVAS_CONF_OPT += --enable-cpu-neon
 else
 LIBEVAS_CONF_OPT += --disable-cpu-neon
index 994c7cd309e832d2e7f405aed3e60294a0fd0d5c..90c1f1b4095e5c5e069343221412893aaa4bf86f 100644 (file)
@@ -143,8 +143,7 @@ endif
 ifeq ($(BR2_arm10)$(BR2_arm1136jf_s)$(BR2_arm1176jz_s)$(BR2_arm1176jzf-s)$(BR2_cortex_a8)$(BR2_cortex_a9),y)
 FFMPEG_CONF_OPT += --enable-armvfp
 endif
-# NEON is optional for A9
-ifeq ($(BR2_cortex_a8),y)
+ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
 FFMPEG_CONF_OPT += --enable-neon
 endif
 # Set powerpc altivec appropriately
index 17680b66a0b2ddb208aa65ffac9cd132d5cb7da8..4a1abf49571d4d514a7378b2c7c193140bc5c6f3 100644 (file)
@@ -112,7 +112,7 @@ ifeq ($(call qstrip,$(BR2_GCC_TARGET_ARCH)),armv6j)
 MPLAYER_CONF_OPTS += --enable-armv6
 endif
 
-ifeq ($(call qstrip,$(BR2_GCC_TARGET_ARCH)),armv7-a)
+ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
 MPLAYER_CONF_OPTS += --enable-neon
 endif