x264: use the BR2_ARM_CPU_ARMV7A option

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni 2014-10-21 22:27:04 +02:00 committed by Peter Korsgaard
parent 56ea6a1391
commit fe41777851

View File

@ -14,7 +14,7 @@ X264_INSTALL_STAGING = YES
ifeq ($(BR2_i386)$(BR2_x86_64),y) ifeq ($(BR2_i386)$(BR2_x86_64),y)
X264_DEPENDENCIES += host-yasm X264_DEPENDENCIES += host-yasm
else ifeq ($(BR2_cortex_a5)$(BR2_cortex_a7)$(BR2_cortex_a8)$(BR2_cortex_a9)$(BR2_cortex_a12)$(BR2_cortex_a15),y) else ifeq ($(BR2_ARM_CPU_ARMV7A),y)
# We need to pass gcc as AS, because the ARM assembly files have to be # We need to pass gcc as AS, because the ARM assembly files have to be
# preprocessed # preprocessed
X264_CONF_ENV += AS="$(TARGET_CC)" X264_CONF_ENV += AS="$(TARGET_CC)"