mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
x264: use assembly files on ARMv7
[Peter: use positive logic for ifeq, move ARM handling inside ifeq] Signed-off-by: David du Colombier <0intro@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
7417616e09
commit
ae2c1f8898
@ -14,6 +14,10 @@ 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)
|
||||||
|
# We need to pass gcc as AS, because the ARM assembly files have to be
|
||||||
|
# preprocessed
|
||||||
|
X264_CONF_ENV += AS="$(TARGET_CC)"
|
||||||
else
|
else
|
||||||
X264_CONF_OPTS += --disable-asm
|
X264_CONF_OPTS += --disable-asm
|
||||||
endif
|
endif
|
||||||
@ -32,7 +36,7 @@ endif
|
|||||||
|
|
||||||
# the configure script is not generated by autoconf
|
# the configure script is not generated by autoconf
|
||||||
define X264_CONFIGURE_CMDS
|
define X264_CONFIGURE_CMDS
|
||||||
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure \
|
(cd $(@D); $(TARGET_CONFIGURE_OPTS) $(X264_CONF_ENV) ./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--host="$(GNU_TARGET_NAME)" \
|
--host="$(GNU_TARGET_NAME)" \
|
||||||
--cross-prefix="$(TARGET_CROSS)" \
|
--cross-prefix="$(TARGET_CROSS)" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user