Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b0b3d14 authored by Inseob Kim's avatar Inseob Kim
Browse files

Error if BOARD_VNDK_VERSION=PLATFORM_VNDK_VERSION

"BOARD_VNDK_VERSION := current" should be used instead.

Bug: 159866756
Test: manual
Change-Id: I854ca9c0fa195ab4bbb468a1343ef4fa28ac9258
parent 43774f74
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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