(SHIFT) build: include SHIFT versioning
Change-Id: I10af07e7b138958de2e95d197c34949c7584bc47
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/core/version_util.mk b/core/version_util.mk
index eb568be..8d4472e 100644
--- a/core/version_util.mk
+++ b/core/version_util.mk
@@ -226,3 +226,9 @@
endif
PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION := $(RELEASE_PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION)
.KATI_READONLY := PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION
+
+# Include ShiftOS versioning, which needs to be set at the very beginning already
+INTERNAL_SHIFT_VERSIONING_MAKEFILE := $(wildcard vendor/shiftos/config/version.mk)
+ifneq "" "$(INTERNAL_SHIFT_VERSIONING_MAKEFILE)"
+ include $(INTERNAL_SHIFT_VERSIONING_MAKEFILE)
+endif