HACK: Get flo booting to graphics again

Message ID 1491541280-2979-1-git-send-email-john.stultz@linaro.org
State New
Headers show

Commit Message

John Stultz April 7, 2017, 5:01 a.m.
So this is a hack, but I wanted to send it to get ideas
for how to better fix this.

Basically nothing sets TARGET_SUPPORTS_32_BIT_APPS, so
AUDIOSERVER_MULTILIB is always set to 64. This causes
flo and probably other 32bit platforms to hang on bootup.

I tried to rework it to check for ARCH="arm", but my
makefile foo isn't strong enough. Let me know if you have
suggestions.

Cc: Rob Herring <rob.herring@linaro.org>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Amit Pundir <amit.pundir@linaro.org>
Cc: Vishal Bhoj <vishal.bhoj@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>

---
 BoardConfig.mk | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
2.7.4

Patch hide | download patch | download mbox

diff --git a/BoardConfig.mk b/BoardConfig.mk
index 19899e8..f65f6dd 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -38,11 +38,11 @@  BOARD_SEPOLICY_DIRS += \
 	build/target/board/generic/sepolicy \
 	$(DEV_DIR)/sepolicy
 
-ifeq ($(TARGET_SUPPORTS_32_BIT_APPS),true)
+#ifeq ($(TARGET_ARCH), "arm")
 AUDIOSERVER_MULTILIB := 32
-else
-AUDIOSERVER_MULTILIB := 64
-endif
+#else
+#AUDIOSERVER_MULTILIB := 64
+#endif
 
 define include-board-configs
  $(foreach dir, $(1), \