From 4c3c7a962f5b5ec7fde06065cd60a49bf272329d Mon Sep 17 00:00:00 2001 From: Bruce Beare Date: Fri, 12 Sep 2014 09:09:52 -0700 Subject: Fix recovery image build for 32p When building for 32p, we need to be explicit that we wish to build the 32bit version of the binaries that will be placed in the recovery image. The recovery image doesn't actually care... but if we are not explicit in this, the makefiles will ask for the 64bit binaries but the Android.mk for the binaries will supply the 32bit images (causing the build to fail). Change-Id: Iea2d5f412740c082795da4358765751138a4b167 --- updater/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater/Android.mk b/updater/Android.mk index a3a900a80..c73cdc083 100644 --- a/updater/Android.mk +++ b/updater/Android.mk @@ -69,7 +69,7 @@ $(inc) : $(inc_dep_file) $(hide) $(foreach lib,$(libs),echo " Register_$(lib)();" >> $@;) $(hide) echo "}" >> $@ -$(call intermediates-dir-for,EXECUTABLES,updater)/updater.o : $(inc) +$(call intermediates-dir-for,EXECUTABLES,updater,,,$(TARGET_PREFER_32_BIT))/updater.o : $(inc) LOCAL_C_INCLUDES += $(dir $(inc)) inc := -- cgit v1.2.3