aboutsummaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorBruce Beare <bruce.j.beare@intel.com>2014-09-12 09:09:52 -0700
committerYong Yao <yong.yao@intel.com>2014-11-30 19:21:19 -0800
commit4c3c7a962f5b5ec7fde06065cd60a49bf272329d (patch)
tree5645af494c0928f56b90922f58580b35295394b0 /updater
parentd34b63780eaf80ba71279360dc1e2fdbdc488eec (diff)
downloadbootable_recovery-4c3c7a962f5b5ec7fde06065cd60a49bf272329d.zip
bootable_recovery-4c3c7a962f5b5ec7fde06065cd60a49bf272329d.tar.gz
bootable_recovery-4c3c7a962f5b5ec7fde06065cd60a49bf272329d.tar.bz2
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
Diffstat (limited to 'updater')
-rw-r--r--updater/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/Android.mk b/updater/Android.mk
index a3a900a..c73cdc0 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 :=