762d936911
If BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT is set, move GSI AVB keys to vendor_boot. The existence of these keys are device-specific, and should not exist in the generic boot image. Test: manual Bug: 156098440 Change-Id: Iabe002a9f1ecd2fdf109beed98db6edd3f092399
77 lines
1.9 KiB
Makefile
77 lines
1.9 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
ifeq ($(BOARD_USES_RECOVERY_AS_BOOT),true)
|
|
my_gsi_avb_keys_path := $(TARGET_RECOVERY_ROOT_OUT)/first_stage_ramdisk/avb
|
|
else ifeq ($(BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT),true)
|
|
my_gsi_avb_keys_path := $(TARGET_VENDOR_RAMDISK_OUT)/avb
|
|
else
|
|
my_gsi_avb_keys_path := $(TARGET_RAMDISK_OUT)/avb
|
|
endif
|
|
|
|
#######################################
|
|
# q-gsi.avbpubkey
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := q-gsi.avbpubkey
|
|
LOCAL_MODULE_CLASS := ETC
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path)
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
#######################################
|
|
# q-developer-gsi.avbpubkey
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := q-developer-gsi.avbpubkey
|
|
LOCAL_MODULE_CLASS := ETC
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path)
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
#######################################
|
|
# r-gsi.avbpubkey
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := r-gsi.avbpubkey
|
|
LOCAL_MODULE_CLASS := ETC
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path)
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
#######################################
|
|
# r-developer-gsi.avbpubkey
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := r-developer-gsi.avbpubkey
|
|
LOCAL_MODULE_CLASS := ETC
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path)
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
#######################################
|
|
# s-gsi.avbpubkey
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := s-gsi.avbpubkey
|
|
LOCAL_MODULE_CLASS := ETC
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path)
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
#######################################
|
|
# s-developer-gsi.avbpubkey
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := s-developer-gsi.avbpubkey
|
|
LOCAL_MODULE_CLASS := ETC
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
LOCAL_MODULE_PATH := $(my_gsi_avb_keys_path)
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
my_gsi_avb_keys_path :=
|