diff options
author | Matt Mower <mowerm@gmail.com> | 2014-07-08 22:25:38 -0500 |
---|---|---|
committer | Tom Marshall <tdm@cyngn.com> | 2015-11-25 15:35:47 -0800 |
commit | 21d3a8f8230ae4f1f9210d6ec40f92ae023ec43a (patch) | |
tree | 3a927f574cdadc1793342fbb1bbdef7c3af63e10 /Android.mk | |
parent | bea646deee644f24384caf321fb497dd530ba2f0 (diff) | |
download | bootable_recovery-21d3a8f8230ae4f1f9210d6ec40f92ae023ec43a.zip bootable_recovery-21d3a8f8230ae4f1f9210d6ec40f92ae023ec43a.tar.gz bootable_recovery-21d3a8f8230ae4f1f9210d6ec40f92ae023ec43a.tar.bz2 |
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
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -123,6 +123,10 @@ ifeq ($(TARGET_USE_MDTP), true) LOCAL_CFLAGS += -DUSE_MDTP endif +ifneq ($(BOARD_RECOVERY_BLDRMSG_OFFSET),) + LOCAL_CFLAGS += -DBOARD_RECOVERY_BLDRMSG_OFFSET=$(BOARD_RECOVERY_BLDRMSG_OFFSET) +endif + LOCAL_CFLAGS += -DUSE_EXT4 -DMINIVOLD LOCAL_C_INCLUDES += system/extras/ext4_utils system/core/fs_mgr/include external/fsck_msdos LOCAL_C_INCLUDES += system/vold |