forked from openkylin/platform_build
Removes usage of TARGET_NO_VENDOR_BOOT.
- true -> PRODUCT_BUILD_VENDOR_BOOT_IMAGE=false - false -> (removed, uses default option which builds vendor-boot.img if BOARD_BOOT_HEADER_VERSION>=3) Bug: 170423509 Test: Inspect build artifacts from treehugger. Change-Id: Id16fbda7fdfc70d62db389d6efb5201cb0d6d4e3
This commit is contained in:
parent
cfa39194ad
commit
ad6293c098
|
@ -378,12 +378,7 @@ endif
|
|||
BUILDING_VENDOR_BOOT_IMAGE :=
|
||||
ifdef BOARD_BOOT_HEADER_VERSION
|
||||
ifneq ($(call math_gt_or_eq,$(BOARD_BOOT_HEADER_VERSION),3),)
|
||||
ifneq ($(TARGET_NO_VENDOR_BOOT),)
|
||||
$(warning TARGET_NO_VENDOR_BOOT has been deprecated. Please use PRODUCT_BUILD_VENDOR_BOOT_IMAGE.)
|
||||
ifneq ($(TARGET_NO_VENDOR_BOOT),true)
|
||||
BUILDING_VENDOR_BOOT_IMAGE := true
|
||||
endif
|
||||
else ifeq ($(PRODUCT_BUILD_VENDOR_BOOT_IMAGE),)
|
||||
ifeq ($(PRODUCT_BUILD_VENDOR_BOOT_IMAGE),)
|
||||
BUILDING_VENDOR_BOOT_IMAGE := true
|
||||
else ifeq ($(PRODUCT_BUILD_VENDOR_BOOT_IMAGE),true)
|
||||
BUILDING_VENDOR_BOOT_IMAGE := true
|
||||
|
|
|
@ -157,6 +157,7 @@ $(KATI_obsolete_var BOARD_VNDK_RUNTIME_DISABLE,VNDK-Lite is no longer supported.
|
|||
$(KATI_obsolete_var LOCAL_SANITIZE_BLACKLIST,Use LOCAL_SANITIZE_BLOCKLIST instead.)
|
||||
$(KATI_deprecated_var BOARD_PLAT_PUBLIC_SEPOLICY_DIR,Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.)
|
||||
$(KATI_deprecated_var BOARD_PLAT_PRIVATE_SEPOLICY_DIR,Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.)
|
||||
$(KATI_obsolete_var TARGET_NO_VENDOR_BOOT,Use PRODUCT_BUILD_VENDOR_BOOT_IMAGE instead)
|
||||
|
||||
# Used to force goals to build. Only use for conditionally defined goals.
|
||||
.PHONY: FORCE
|
||||
|
|
|
@ -73,7 +73,6 @@ else
|
|||
endif
|
||||
|
||||
#vendor boot
|
||||
TARGET_NO_VENDOR_BOOT := false
|
||||
BOARD_INCLUDE_DTB_IN_BOOTIMG := false
|
||||
BOARD_BOOT_HEADER_VERSION := 3
|
||||
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
|
||||
|
|
|
@ -56,7 +56,6 @@ include build/make/target/board/BoardConfigGsiCommon.mk
|
|||
include build/make/target/board/BoardConfigEmuCommon.mk
|
||||
|
||||
TARGET_NO_KERNEL := false
|
||||
TARGET_NO_VENDOR_BOOT := false
|
||||
BOARD_USES_RECOVERY_AS_BOOT := true
|
||||
|
||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x02000000
|
||||
|
|
|
@ -55,7 +55,6 @@ endif
|
|||
include build/make/target/board/BoardConfigGsiCommon.mk
|
||||
|
||||
TARGET_NO_KERNEL := false
|
||||
TARGET_NO_VENDOR_BOOT := true
|
||||
BOARD_USES_RECOVERY_AS_BOOT := true
|
||||
|
||||
BOARD_KERNEL-4.19-GZ_BOOTIMAGE_PARTITION_SIZE := 47185920
|
||||
|
|
|
@ -29,3 +29,5 @@ PRODUCT_COPY_FILES += \
|
|||
kernel/prebuilts/5.4/arm64/kernel-5.4-gz:kernel-5.4-gz-allsyms \
|
||||
kernel/prebuilts/5.4/arm64/kernel-5.4-lz4:kernel-5.4-lz4-allsyms
|
||||
endif
|
||||
|
||||
PRODUCT_BUILD_VENDOR_BOOT_IMAGE := false
|
||||
|
|
Loading…
Reference in New Issue