summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2014-07-09 05:25:38 +0200
committerGerrit Code Review <gerrit2@gerrit>2014-07-16 16:09:51 +0200
commitfb60a94f0a1d24c0f6e548df8385cdea25eca758 (patch)
tree2512b6017706958df4d3d2d8525854ab0022cddc /Android.mk
parentDo not wipe block misc on bootloader msg update (diff)
downloadandroid_bootable_recovery-fb60a94f0a1d24c0f6e548df8385cdea25eca758.tar
android_bootable_recovery-fb60a94f0a1d24c0f6e548df8385cdea25eca758.tar.gz
android_bootable_recovery-fb60a94f0a1d24c0f6e548df8385cdea25eca758.tar.bz2
android_bootable_recovery-fb60a94f0a1d24c0f6e548df8385cdea25eca758.tar.lz
android_bootable_recovery-fb60a94f0a1d24c0f6e548df8385cdea25eca758.tar.xz
android_bootable_recovery-fb60a94f0a1d24c0f6e548df8385cdea25eca758.tar.zst
android_bootable_recovery-fb60a94f0a1d24c0f6e548df8385cdea25eca758.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index c864ff0f7..05111c02c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -335,6 +335,10 @@ LOCAL_SRC_FILES = adb_install.cpp bootloader.cpp verifier.cpp mtdutils/mtdutils.
LOCAL_SHARED_LIBRARIES += libc liblog libcutils libmtdutils
LOCAL_STATIC_LIBRARIES += libmincrypttwrp
+ifneq ($(BOARD_RECOVERY_BLDRMSG_OFFSET),)
+ LOCAL_CFLAGS += -DBOARD_RECOVERY_BLDRMSG_OFFSET=$(BOARD_RECOVERY_BLDRMSG_OFFSET)
+endif
+
include $(BUILD_SHARED_LIBRARY)
commands_recovery_local_path := $(LOCAL_PATH)