forked from openkylin/platform_build
Merge "Recovery resource must be install to either boot or vendor_boot" am: de65fa1959
Original change: https://android-review.googlesource.com/c/platform/build/+/1499186 Change-Id: I72e6bc32f940078de0cbb32f75e0dfd2e78228d3
This commit is contained in:
commit
fbe87f3160
|
@ -790,3 +790,10 @@ ifeq (true,$(BOARD_USES_GENERIC_KERNEL_IMAGE))
|
|||
Use BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT instead)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq (true,$(BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT))
|
||||
ifeq (true,$(BOARD_USES_RECOVERY_AS_BOOT))
|
||||
$(error BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT and BOARD_USES_RECOVERY_AS_BOOT cannot be \
|
||||
both true. Recovery resources should be installed to either boot or vendor_boot, but not both)
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue