From 21d3a8f8230ae4f1f9210d6ec40f92ae023ec43a Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Tue, 8 Jul 2014 22:25:38 -0500 Subject: Allow custom bootloader msg offset in block misc Use board define BOARD_RECOVERY_BLDRMSG_OFFSET with a decimal integer to define a custom offset where the bootloader message should be read/written. Edify commands get_stage and set_stage need to be aware of the custom bootloader msg offset because they write the stage directly to the BCB. Change-Id: Id13a23dd41bb7d907b96d657b8e21eb839dfeaa9 --- updater/Android.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'updater/Android.mk') diff --git a/updater/Android.mk b/updater/Android.mk index c936d0d..9f9da06 100644 --- a/updater/Android.mk +++ b/updater/Android.mk @@ -28,6 +28,10 @@ LOCAL_STATIC_LIBRARIES += \ libsparse_static \ libz +ifneq ($(BOARD_RECOVERY_BLDRMSG_OFFSET),) + LOCAL_CFLAGS += -DBOARD_RECOVERY_BLDRMSG_OFFSET=$(BOARD_RECOVERY_BLDRMSG_OFFSET) +endif + LOCAL_STATIC_LIBRARIES += $(TARGET_RECOVERY_UPDATER_LIBS) $(TARGET_RECOVERY_UPDATER_EXTRA_LIBS) LOCAL_STATIC_LIBRARIES += libapplypatch libedify libmtdutils libminzip libz LOCAL_STATIC_LIBRARIES += libmincrypt libbz -- cgit v1.2.3