summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-12-13 23:25:30 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-13 23:25:53 +0100
commitce8a7d50557d8f4a8dd3ae8a2259cc8996a38c57 (patch)
tree18c15040f27c55526588c7a445fbd169ec8c304b
parentf9da98c85d661578e0f40d81fac53aa65bd08fbb (diff)
downloadbuildroot-novena-ce8a7d50557d8f4a8dd3ae8a2259cc8996a38c57.tar.gz
buildroot-novena-ce8a7d50557d8f4a8dd3ae8a2259cc8996a38c57.zip
package: use BR2_ARM_CPU_HAS_NEON
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/efl/libevas/libevas.mk3
-rw-r--r--package/multimedia/ffmpeg/ffmpeg.mk3
-rw-r--r--package/multimedia/mplayer/mplayer.mk2
3 files changed, 3 insertions, 5 deletions
diff --git a/package/efl/libevas/libevas.mk b/package/efl/libevas/libevas.mk
index 2e9e930c9..1f053e37c 100644
--- a/package/efl/libevas/libevas.mk
+++ b/package/efl/libevas/libevas.mk
@@ -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
diff --git a/package/multimedia/ffmpeg/ffmpeg.mk b/package/multimedia/ffmpeg/ffmpeg.mk
index 994c7cd30..90c1f1b40 100644
--- a/package/multimedia/ffmpeg/ffmpeg.mk
+++ b/package/multimedia/ffmpeg/ffmpeg.mk
@@ -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
diff --git a/package/multimedia/mplayer/mplayer.mk b/package/multimedia/mplayer/mplayer.mk
index 17680b66a..4a1abf495 100644
--- a/package/multimedia/mplayer/mplayer.mk
+++ b/package/multimedia/mplayer/mplayer.mk
@@ -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