forked from openkylin/platform_build
Merge "Fix builds with enforce_vintf_kernel + !kernel" am: 3c610dd0aa
am: 8163f0b665
Original change: https://android-review.googlesource.com/c/platform/build/+/1663197 Change-Id: I63c23ed361bb357f153f5e3d5667b932a992ef35
This commit is contained in:
commit
75257bca9c
|
@ -3937,6 +3937,9 @@ $(warning No INSTALLED_KERNEL_TARGET is defined when PRODUCT_OTA_ENFORCE_VINTF_K
|
|||
or (2) extracting kernel configuration and defining BOARD_KERNEL_CONFIG_FILE and \
|
||||
BOARD_KERNEL_VERSION manually; or (3) unsetting PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS \
|
||||
manually.)
|
||||
# Clear their values to indicate that these two files does not exist.
|
||||
BUILT_KERNEL_CONFIGS_FILE :=
|
||||
BUILT_KERNEL_VERSION_FILE :=
|
||||
else
|
||||
|
||||
# Tools for decompression that is not in PATH.
|
||||
|
@ -3981,8 +3984,10 @@ check_vintf_compatible_args :=
|
|||
check_vintf_compatible_deps := $(check_vintf_common_srcs)
|
||||
|
||||
ifeq ($(PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS),true)
|
||||
ifneq (,$(BUILT_KERNEL_VERSION_FILE)$(BUILT_KERNEL_CONFIGS_FILE))
|
||||
check_vintf_compatible_args += --kernel $(BUILT_KERNEL_VERSION_FILE):$(BUILT_KERNEL_CONFIGS_FILE)
|
||||
check_vintf_compatible_deps += $(BUILT_KERNEL_CONFIGS_FILE) $(BUILT_KERNEL_VERSION_FILE)
|
||||
endif # BUILT_KERNEL_VERSION_FILE != "" || BUILT_KERNEL_CONFIGS_FILE != ""
|
||||
endif # PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS
|
||||
|
||||
check_vintf_compatible_args += \
|
||||
|
|
Loading…
Reference in New Issue