diff Makefile @ 9976:e52cd349e708 libavcodec

Only compile in NEON optimizations for H.264 when the H.264 decoder is enabled.
author diego
date Wed, 22 Jul 2009 22:33:33 +0000
parents 2ccd77e59b0e
children 68de5143aa45
line wrap: on
line diff
--- a/Makefile	Wed Jul 22 22:27:10 2009 +0000
+++ b/Makefile	Wed Jul 22 22:33:33 2009 +0000
@@ -495,12 +495,13 @@
 OBJS-$(HAVE_IWMMXT)                    += arm/dsputil_iwmmxt.o          \
                                           arm/mpegvideo_iwmmxt.o        \
 
+NEON-OBJS-$(CONFIG_H264_DECODER)       += arm/h264dsp_neon.o            \
+                                          arm/h264idct_neon.o           \
+
 NEON-OBJS-$(CONFIG_VP3_DECODER)        += arm/vp3dsp_neon.o
 
 OBJS-$(HAVE_NEON)                      += arm/dsputil_neon.o            \
                                           arm/dsputil_neon_s.o          \
-                                          arm/h264dsp_neon.o            \
-                                          arm/h264idct_neon.o           \
                                           arm/simple_idct_neon.o        \
                                           $(NEON-OBJS-yes)