Support .asm being compiled by yasm targeted for x86_64.
Change-Id: Ia6425c38dd2f7ad2dc697213cd61b7515b9e7aff
diff --git a/core/binary.mk b/core/binary.mk
index 02b72b6..af6acf0 100644
--- a/core/binary.mk
+++ b/core/binary.mk
@@ -795,8 +795,7 @@
asm_objects := $(asm_objects_S) $(asm_objects_s)
-# .asm for x86 needs to be compiled with yasm.
-ifeq (x86,$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH))
+# .asm for x86/x86_64 needs to be compiled with yasm.
asm_sources_asm := $(filter %.asm,$(my_src_files))
ifneq ($(strip $(asm_sources_asm)),)
asm_objects_asm := $(addprefix $(intermediates)/,$(asm_sources_asm:.asm=.o))
@@ -806,7 +805,6 @@
asm_objects += $(asm_objects_asm)
endif
-endif
##########################################################