summaryrefslogtreecommitdiffstats
path: root/applypatch/Android.mk
diff options
context:
space:
mode:
authorConn O'Griofa <connogriofa@gmail.com>2014-03-25 02:26:49 +0100
committerDees Troy <dees_troy@teamw.in>2014-10-07 21:00:29 +0200
commitd9201048c487ff528cd1e73583d5105cfa651aab (patch)
tree18621c3d97738b297c148d8b4f63adcb64ed09a6 /applypatch/Android.mk
parentatime is access time, let's just use mtime (diff)
downloadandroid_bootable_recovery-d9201048c487ff528cd1e73583d5105cfa651aab.tar
android_bootable_recovery-d9201048c487ff528cd1e73583d5105cfa651aab.tar.gz
android_bootable_recovery-d9201048c487ff528cd1e73583d5105cfa651aab.tar.bz2
android_bootable_recovery-d9201048c487ff528cd1e73583d5105cfa651aab.tar.lz
android_bootable_recovery-d9201048c487ff528cd1e73583d5105cfa651aab.tar.xz
android_bootable_recovery-d9201048c487ff528cd1e73583d5105cfa651aab.tar.zst
android_bootable_recovery-d9201048c487ff528cd1e73583d5105cfa651aab.zip
Diffstat (limited to 'applypatch/Android.mk')
-rw-r--r--applypatch/Android.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/applypatch/Android.mk b/applypatch/Android.mk
index a146dfa82..98981a6d9 100644
--- a/applypatch/Android.mk
+++ b/applypatch/Android.mk
@@ -15,6 +15,14 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
+BOARD_RECOVERY_DEFINES := BOARD_BML_BOOT BOARD_BML_RECOVERY
+
+$(foreach board_define,$(BOARD_RECOVERY_DEFINES), \
+ $(if $($(board_define)), \
+ $(eval LOCAL_CFLAGS += -D$(board_define)=\"$($(board_define))\") \
+ ) \
+ )
+
LOCAL_SRC_FILES := applypatch.c bspatch.c freecache.c imgpatch.c utils.c
LOCAL_MODULE := libapplypatch
LOCAL_MODULE_TAGS := eng