aboutsummaryrefslogtreecommitdiff
path: root/package/x264/x264.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/x264/x264.mk')
-rw-r--r--package/x264/x264.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/x264/x264.mk b/package/x264/x264.mk
index d24cf2064b..7e7e597965 100644
--- a/package/x264/x264.mk
+++ b/package/x264/x264.mk
@@ -13,7 +13,9 @@ X264_INSTALL_STAGING = YES
X264_CONF_OPTS = --disable-avs
ifeq ($(BR2_i386)$(BR2_x86_64),y)
+# yasm needed for assembly files
X264_DEPENDENCIES += host-yasm
+X264_CONF_ENV += AS="$(HOST_DIR)/usr/bin/yasm"
else ifeq ($(BR2_ARM_CPU_ARMV7A)$(BR2_aarch64),y)
# We need to pass gcc as AS, because the ARM assembly files have to be
# preprocessed