Replace is-board-platform[-in-list] with is-board-platform[-in-list]2 am: 1fe24ae61d am: 858c77cca0

Original change: https://android-review.googlesource.com/c/platform/hardware/qcom/sm7250/display/+/1881644

Change-Id: I3c178d8ec52d15c7155f7ab0511484afc382c7c7
diff --git a/common.mk b/common.mk
index 6038b89..1bf2e2d 100644
--- a/common.mk
+++ b/common.mk
@@ -25,7 +25,7 @@
     common_flags += -D__ARM_HAVE_NEON
 endif
 
-ifeq ($(call is-board-platform-in-list, $(MASTER_SIDE_CP_TARGET_LIST)), true)
+ifneq (,$(call is-board-platform-in-list2, $(MASTER_SIDE_CP_TARGET_LIST)))
     common_flags += -DMASTER_SIDE_CP
 endif