diff options
Diffstat (limited to 'prebuilt/Android.mk')
-rw-r--r-- | prebuilt/Android.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk index 9ff304cd8..07e24e39e 100644 --- a/prebuilt/Android.mk +++ b/prebuilt/Android.mk @@ -26,7 +26,12 @@ RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/mkdosfs RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/e2fsck RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mke2fs RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/tune2fs -RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/linker +ifneq ($(TARGET_ARCH), x86_64) + RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/linker +endif +ifeq ($(TARGET_ARCH), x86_64) + RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/linker64 +endif ifeq ($(TARGET_ARCH), arm64) RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/linker64 endif |