From 6e7693f1597a0934833a72faf35e918dfbdb6ecd Mon Sep 17 00:00:00 2001 From: Inseob Kim Date: Thu, 25 Feb 2021 21:22:27 +0900 Subject: [PATCH] Allow BOARD_VNDK_VERSION to be changed Some devices e.g. cuttlefish include BoardConfigMainlineCommon.mk. This allows BOARD_VNDK_VERSION to be changed other than current, to allow mixed build experiment with BOARD_VNDK_VERSION. Test: try setting BOARD_VNDK_VERSION and get_build_var Change-Id: I7eb7fe6527f24ee2a3b4af32194a48ca98146a78 --- target/board/BoardConfigMainlineCommon.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/board/BoardConfigMainlineCommon.mk b/target/board/BoardConfigMainlineCommon.mk index bf015e502..00f6e5b0a 100644 --- a/target/board/BoardConfigMainlineCommon.mk +++ b/target/board/BoardConfigMainlineCommon.mk @@ -19,7 +19,8 @@ TARGET_COPY_OUT_PRODUCT := product # the devices with metadata parition BOARD_USES_METADATA_PARTITION := true -BOARD_VNDK_VERSION := current +# Default is current, but allow devices to override vndk version if needed. +BOARD_VNDK_VERSION ?= current # Required flag for non-64 bit devices from P. TARGET_USES_64_BIT_BINDER := true