Make TWRP compile for x86-64 CPU target
Also add a short while loop to wait for fb0 to be created as was
needed on the x86-64 target for the Android emulator.
Change-Id: Ib1b87bea028ac3eac0541283334a0157cdfbce11
diff --git a/Android.mk b/Android.mk
index e76a3a9..ddd2c7d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -323,7 +323,11 @@
mkdosfs
ifneq ($(TARGET_ARCH), arm64)
- LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker
+ ifneq ($(TARGET_ARCH), x86_64)
+ LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker
+ else
+ LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker64
+ endif
else
LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker64
endif