Merge "Error if BOARD_VNDK_VERSION=PLATFORM_VNDK_VERSION" am: b9a27f4e7d

Original change: https://android-review.googlesource.com/c/platform/build/+/1350002

Change-Id: I7e35dc40a4905f53b4106f4aeeae4d7c3cb114de
This commit is contained in:
Inseob Kim 2020-07-01 00:38:04 +00:00 committed by Automerger Merge Worker
commit 572072b09f
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