Merge "Error if BOARD_VNDK_VERSION=PLATFORM_VNDK_VERSION"

This commit is contained in:
Inseob Kim 2020-07-01 00:27:44 +00:00 committed by Gerrit Code Review
commit b9a27f4e7d
1 changed files with 3 additions and 0 deletions

View File

@ -593,6 +593,9 @@ define check_vndk_version
endef
ifdef BOARD_VNDK_VERSION
ifeq ($(BOARD_VNDK_VERSION),$(PLATFORM_VNDK_VERSION))
$(error BOARD_VNDK_VERSION is equal to PLATFORM_VNDK_VERSION; use BOARD_VNDK_VERSION := current))
endif
ifneq ($(BOARD_VNDK_VERSION),current)
$(call check_vndk_version,$(BOARD_VNDK_VERSION))
endif